pref-filters: remove search

This commit is contained in:
Andrew Dolgov 2010-11-18 16:00:44 +03:00
parent e032e2e733
commit 4b386e638b
2 changed files with 3 additions and 11 deletions

View File

@ -392,14 +392,6 @@
print "<div id=\"pref-filter-header\" dojoType=\"dijit.layout.ContentPane\" region=\"top\">"; print "<div id=\"pref-filter-header\" dojoType=\"dijit.layout.ContentPane\" region=\"top\">";
print "<div id=\"pref-filter-toolbar\" dojoType=\"dijit.Toolbar\">"; print "<div id=\"pref-filter-toolbar\" dojoType=\"dijit.Toolbar\">";
print "<div style='float : right; padding-right : 4px;'>
<input dojoType=\"dijit.form.TextBox\" id=\"filter_search\" size=\"20\" type=\"search\"
onfocus=\"javascript:disableHotkeys();\"
onblur=\"javascript:enableHotkeys();\"
onchange=\"javascript:updateFilterList()\" value=\"$filter_search\">
<button dojoType=\"dijit.form.Button\" onclick=\"javascript:updateFilterList()\">".__('Search')."</button>
</div>";
print "<div dojoType=\"dijit.form.DropDownButton\">". print "<div dojoType=\"dijit.form.DropDownButton\">".
"<span>" . __('Select')."</span>"; "<span>" . __('Select')."</span>";
print "<div dojoType=\"dijit.Menu\" style=\"display: none;\">"; print "<div dojoType=\"dijit.Menu\" style=\"display: none;\">";

View File

@ -42,7 +42,7 @@ function filterlist_callback2(transport) {
remove_splash(); remove_splash();
} }
function init_label_inline_editor() { /* function init_label_inline_editor() {
try { try {
if ($("prefLabelList")) { if ($("prefLabelList")) {
var elems = $("prefLabelList").getElementsByTagName("SPAN"); var elems = $("prefLabelList").getElementsByTagName("SPAN");
@ -63,7 +63,7 @@ function init_label_inline_editor() {
} catch (e) { } catch (e) {
exception_error("init_label_inline_editor", e); exception_error("init_label_inline_editor", e);
} }
} } */
function labellist_callback2(transport) { function labellist_callback2(transport) {
@ -72,7 +72,7 @@ function labellist_callback2(transport) {
dijit.byId('labelConfigTab').attr('content', transport.responseText); dijit.byId('labelConfigTab').attr('content', transport.responseText);
closeInfoBox(); closeInfoBox();
init_label_inline_editor(); //init_label_inline_editor();
notify(""); notify("");
remove_splash(); remove_splash();