diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-10-11 14:07:37 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-10-11 14:07:37 +0000 |
| commit | e196091778c5ea93c9d00301b3ebca85d96d9e09 (patch) | |
| tree | 7d78c0515a2debfffbbc40dc098dac71adf88b0c /frontends/php/include | |
| parent | 65fb13bf23e53b616ff5849dc4ef292d992a57fd (diff) | |
| download | zabbix-e196091778c5ea93c9d00301b3ebca85d96d9e09.tar.gz zabbix-e196091778c5ea93c9d00301b3ebca85d96d9e09.tar.xz zabbix-e196091778c5ea93c9d00301b3ebca85d96d9e09.zip | |
- [ZBX-59] removed button "Switch Node" (Alexei)
[svn merge -r4851:4854 svn://svn.zabbix.com/branches/1.4]
git-svn-id: svn://svn.zabbix.com/trunk@4855 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/page_header.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php index 9d9a2caf..0a633104 100644 --- a/frontends/php/include/page_header.php +++ b/frontends/php/include/page_header.php @@ -421,7 +421,7 @@ COpt::compare_files_with_menu($ZBX_MENU); if(ZBX_DISTRIBUTED) { - $lst_nodes = new CComboBox('switch_node', get_current_nodeid(false)); + $lst_nodes = new CComboBox('switch_node', get_current_nodeid(false), "submit()"); $db_nodes = DBselect( 'select * from nodes '. ' where nodeid in ('. @@ -444,14 +444,15 @@ COpt::compare_files_with_menu($ZBX_MENU); { global $ZBX_WITH_SUBNODES; - $cmd_show_subnodes = new CComboBox('show_subnodes', !empty($ZBX_WITH_SUBNODES) ? 1 : 0); + $cmd_show_subnodes = new CComboBox('show_subnodes', !empty($ZBX_WITH_SUBNODES) ? 1 : 0, "submit()"); $cmd_show_subnodes->AddItem(0, S_CURRENT_NODE_ONLY); $cmd_show_subnodes->AddItem(1, S_WITH_SUBNODES); $node_form->AddItem(array(SPACE, S_SHOW, $cmd_show_subnodes)); } - $node_form->AddItem(new CButton('submit',S_SWITCH_NODE)); +// No need for the button anymore +// $node_form->AddItem(new CButton('submit',S_SWITCH_NODE)); } } |
