From ba3059ac56d7f5c6625ced86349b4d805ffc5f5b Mon Sep 17 00:00:00 2001 From: xaver <xaver@ispconfig3> Date: Fri, 09 Sep 2011 10:24:10 -0400 Subject: [PATCH] fixed #681 - removed all onblur, checked onchange for function and removed it in filter panels. Added jquery keypress (event 13 -> enter) and tested it in different browsers --- interface/web/vm/templates/openvz_vm_list.htm | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/interface/web/vm/templates/openvz_vm_list.htm b/interface/web/vm/templates/openvz_vm_list.htm index dc51ccf..ad1522c 100644 --- a/interface/web/vm/templates/openvz_vm_list.htm +++ b/interface/web/vm/templates/openvz_vm_list.htm @@ -27,13 +27,13 @@ <th class="tbl_col_buttons" scope="col"> </th> </tr> <tr> - <td class="tbl_col_active"><select name="search_active" onChange="submitForm('pageForm','vm/openvz_vm_list.php');">{tmpl_var name='search_active'}</select></td> + <td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td> <td class="tbl_col_veid"><input type="text" name="search_veid" style="width:40px;" value="{tmpl_var name='search_veid'}" /></td> - <td class="tbl_col_server_id"><select name="search_server_id" onChange="submitForm('pageForm','vm/openvz_vm_list.php');">{tmpl_var name='search_server_id'}</select></td> - <td class="tbl_col_ostemplate_id"><select name="search_ostemplate_id" onChange="submitForm('pageForm','vm/openvz_vm_list.php');">{tmpl_var name='search_ostemplate_id'}</select></td> - <td class="tbl_col_template_id"><select name="search_template_id" onChange="submitForm('pageForm','vm/openvz_vm_list.php');">{tmpl_var name='search_template_id'}</select></td> - <td class="tbl_col_hostname"><input type="text" name="search_hostname" value="{tmpl_var name='search_hostname'}" onblur="submitForm('pageForm','vm/openvz_vm_list.php');" /></td> - <td class="tbl_col_ip_address"><input type="text" name="search_ip_address" style="width:80px;" value="{tmpl_var name='search_ip_address'}" onblur="submitForm('pageForm','vm/openvz_vm_list.php');" /></td> + <td class="tbl_col_server_id"><select name="search_server_id">{tmpl_var name='search_server_id'}</select></td> + <td class="tbl_col_ostemplate_id"><select name="search_ostemplate_id">{tmpl_var name='search_ostemplate_id'}</select></td> + <td class="tbl_col_template_id"><select name="search_template_id">{tmpl_var name='search_template_id'}</select></td> + <td class="tbl_col_hostname"><input type="text" name="search_hostname" value="{tmpl_var name='search_hostname'}" /></td> + <td class="tbl_col_ip_address"><input type="text" name="search_ip_address" style="width:80px;" value="{tmpl_var name='search_ip_address'}" /></td> <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','vm/openvz_vm_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td> </tr> </thead> -- Gitblit v1.9.1