summaryrefslogtreecommitdiffstats
path: root/frontends/php/js
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-27 11:56:36 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-27 11:56:36 +0000
commit1fb44c22f51cccab8f5c32b51fd8b52969c36073 (patch)
treeabac8d01bac879156b1d1ea654d4eaccd0d8a69b /frontends/php/js
parent4606e2b5acf4fd9527d106e01c87bba1a263a166 (diff)
downloadzabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.tar.gz
zabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.tar.xz
zabbix-1fb44c22f51cccab8f5c32b51fd8b52969c36073.zip
- added popup menu for quick hosts controlling in configuration screen (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3941 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/js')
-rw-r--r--frontends/php/js/menu.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontends/php/js/menu.js b/frontends/php/js/menu.js
index 1824a5be..d9625c1d 100644
--- a/frontends/php/js/menu.js
+++ b/frontends/php/js/menu.js
@@ -224,7 +224,12 @@ function menu_expand (n_id) {
// --------------------------------------------------------------------------------
function menu_onclick (n_id) {
// don't go anywhere if item has no link defined
- return Boolean(this.a_index[n_id].a_config[1]);
+ if(Boolean(this.a_index[n_id].a_config[1]))
+ {
+ this.collapse(0);
+ return true;
+ }
+ return false;
}
// --------------------------------------------------------------------------------