summaryrefslogtreecommitdiffstats
path: root/frontends/php/js/dashboard.js
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-26 12:33:26 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-26 12:33:26 +0000
commitc228c7b2c9ea0b4d0e65295e47992b1e559447fc (patch)
tree7ec77efdc12a83d823f7116d9708769caaa5018d /frontends/php/js/dashboard.js
parent401c0e953a8ad1bb7c7cedb5221cc29af76edd20 (diff)
downloadzabbix-c228c7b2c9ea0b4d0e65295e47992b1e559447fc.tar.gz
zabbix-c228c7b2c9ea0b4d0e65295e47992b1e559447fc.tar.xz
zabbix-c228c7b2c9ea0b4d0e65295e47992b1e559447fc.zip
- [DEV-116] added option to remember user login (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5406 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/js/dashboard.js')
-rw-r--r--frontends/php/js/dashboard.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/js/dashboard.js b/frontends/php/js/dashboard.js
index 7702f388..2d3d62a6 100644
--- a/frontends/php/js/dashboard.js
+++ b/frontends/php/js/dashboard.js
@@ -135,7 +135,7 @@ objlist: new Array(), // list of objects
optlist : new Array(), // object params, list
interval: 10, // update interval in sec
-setObj4Update: function(id,url,params,frequency){
+setObj4Update: function(id,frequency,url,params){
var obj = document.getElementById(id);
if(!isset(obj)) return false;
@@ -175,6 +175,7 @@ update: function(obj4update,time){
{
method: 'post',
'parameters': obj4update.params,
+ 'evalScripts': true,
'onSuccess': function(resp){ obj4update.lastupdate = time;},
'onFailure': function(){ document.location = 'dashboard.php?'+Object.toQueryString(obj4update.params); }
});