Plugin Directory

Changeset 1820900


Ignore:
Timestamp:
02/12/2018 10:45:47 PM (8 years ago)
Author:
fs1995
Message:

fix syntax error

Location:
lw-mwp-tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lw-mwp-tools/tags/0.3.1/monitor.php

    r1820882 r1820900  
    5858function updateChart(){
    5959  var xhr = new XMLHttpRequest(); //ie7+
    60   xhr.open("GET", <?php echo "\"" . $jsonpath . "\""; ?>, true); //little bit of mixing php here to get the path of monitor_json.php to get the json with all the system resource info
     60  xhr.open("GET", <?php echo "\"" . $jsonpath . "\""; ?>, true); //little bit of mixing php here to get the path of monitor_json.php to get the json with all the system resource info
    6161  xhr.onload = function (e) {
    6262    if (xhr.readyState === 4){
  • lw-mwp-tools/trunk/monitor.php

    r1820882 r1820900  
    5858function updateChart(){
    5959  var xhr = new XMLHttpRequest(); //ie7+
    60   xhr.open("GET", <?php echo "\"" . $jsonpath . "\""; ?>, true); //little bit of mixing php here to get the path of monitor_json.php to get the json with all the system resource info
     60  xhr.open("GET", <?php echo "\"" . $jsonpath . "\""; ?>, true); //little bit of mixing php here to get the path of monitor_json.php to get the json with all the system resource info
    6161  xhr.onload = function (e) {
    6262    if (xhr.readyState === 4){
Note: See TracChangeset for help on using the changeset viewer.