Plugin Directory

Changeset 2126382


Ignore:
Timestamp:
07/21/2019 10:14:14 PM (7 years ago)
Author:
devjoe2016
Message:

Multiple charts per page

Location:
database-operations
Files:
55 added
3 edited

Legend:

Unmodified
Added
Removed
  • database-operations/trunk/admin/class-database-operations-admin.php

    r2126047 r2126382  
    168168        } else {
    169169     $this->performChartQuery($_POST);
    170    $res='<div id="tesr" style="overflow:auto;"></div>';
     170   $res='<div id="tesr'.$post_id.'" style="overflow:auto;"></div>';
    171171    $res .='
    172172        <script >
     
    196196        }
    197197        uniqueid = Math.floor(Math.random() * 26) + Date.now();
    198         jQuery( "#tesr" ).html( \'<div id="pwp-charts-\' + uniqueid + \'" class="admin-chart"><canvas style="width: 500px; height: 100%;"></canvas></div>\' );
     198        jQuery( "#tesr'.$post_id.'" ).html( \'<div id="pwp-charts-\' + uniqueid + \'" class="admin-chart"><canvas style="width: 500px; height: 100%;"></canvas></div>\' );
    199199        jQuery( "#pwp-charts-" + uniqueid ).pmsresults({ "style": datas.style, "datas": datas.datas });
    200200   
  • database-operations/trunk/db_op.php

    r2126062 r2126382  
    44Plugin URI: https://antechncom.wordpress.com/
    55Description: This plugin connects Wordpress and the MY_SQL database, thus allowing a user fetch data from the MY_SQL database, a user can display a table or perform a simple 'UNION' on two tables. Copy shortcodes to use on any page.
    6 Version: 2.5.7
     6Version: 2.5.8
    77Author: Antechn
    88Author URI: https://antechncom.wordpress.com/about-us/
  • database-operations/trunk/readme.txt

    r2126062 r2126382  
    55Requires at least: 4.6
    66Tested up to: 5.2
    7 Stable tag: 2.5.7
     7Stable tag: 2.5.8
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    8585* Minor changes
    8686
     87= 2.5.7 =
     88* Display Multiple Charts Per Page
    8789
    8890
     91
Note: See TracChangeset for help on using the changeset viewer.