Zabbix 1.5.4 Build-5784 - Simple Graphs
Simple graphs do not work. A blank screen is shown when clicking graph from latest data. After I got the graphs to work again if a user changes the time period, the time period will reset back to 3600 seconds if the screen refreshes. Looks like the new time period is not storing in the user's profile correctly.
Change the following lines in history.php back to the old code and it worked but graph time periods will go back to 3600 seconds when the screen refreshes.
Simple graphs do not work. A blank screen is shown when clicking graph from latest data. After I got the graphs to work again if a user changes the time period, the time period will reset back to 3600 seconds if the screen refreshes. Looks like the new time period is not storing in the user's profile correctly.
Change the following lines in history.php back to the old code and it worked but graph time periods will go back to 3600 seconds when the screen refreshes.
Code:
172c172
< $icon->AddAction('onclick',new CScript('javascript: rm4favorites('itemid',''.$_REQUEST['itemid'].'',0);'));
---
> $icon->AddAction('onclick',new CScript("javascript: rm4favorites('itemid','".$_REQUEST['itemid']."',0);"));
177c177
< $icon->AddAction('onclick',new CScript('javascript: add2favorites('itemid',''.$_REQUEST['itemid'].'');'));
---
> $icon->AddAction('onclick',new CScript("javascript: add2favorites('itemid','".$_REQUEST['itemid']."');"));
Comment