]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-filters: remove search
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 18 Nov 2010 13:00:44 +0000 (16:00 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 18 Nov 2010 13:00:44 +0000 (16:00 +0300)
modules/pref-filters.php
prefs.js

index e419fa991bf163c02e5006809e4e1295285b0550..95721f7cbd4cca90e563cab14343ffbc43701942 100644 (file)
                print "<div id=\"pref-filter-header\" dojoType=\"dijit.layout.ContentPane\" region=\"top\">";
                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\">".
                                "<span>" . __('Select')."</span>";
                print "<div dojoType=\"dijit.Menu\" style=\"display: none;\">";
index 5dc9e77029b48595eac986b869a36ca10ce896c8..f1e38b6180e749f05d154371fdd63b1658d7a728 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -42,7 +42,7 @@ function filterlist_callback2(transport) {
        remove_splash();
 }
 
-function init_label_inline_editor() {
+/* function init_label_inline_editor() {
        try {
                if ($("prefLabelList")) {
                        var elems = $("prefLabelList").getElementsByTagName("SPAN");
@@ -63,7 +63,7 @@ function init_label_inline_editor() {
        } catch (e) {
                exception_error("init_label_inline_editor", e);
        }
-}
+} */
 
 function labellist_callback2(transport) {
 
@@ -72,7 +72,7 @@ function labellist_callback2(transport) {
                dijit.byId('labelConfigTab').attr('content', transport.responseText); 
                closeInfoBox();
 
-               init_label_inline_editor();
+               //init_label_inline_editor();
        
                notify("");
                remove_splash();