From e196091778c5ea93c9d00301b3ebca85d96d9e09 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 11 Oct 2007 14:07:37 +0000 Subject: - [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 --- frontends/php/include/page_header.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'frontends/php/include') 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)); } } -- cgit