equal
deleted
inserted
replaced
159 this.selector.find(".LdtSearchInput").attr('value', this._searchLastValue); |
159 this.selector.find(".LdtSearchInput").attr('value', this._searchLastValue); |
160 this._Popcorn.trigger("IriSP.search", this._searchLastValue); // trigger the search to make it more natural. |
160 this._Popcorn.trigger("IriSP.search", this._searchLastValue); // trigger the search to make it more natural. |
161 |
161 |
162 this._searchBlockOpen = true; |
162 this._searchBlockOpen = true; |
163 this.selector.find(".LdtSearchInput").bind('keyup', null, function() { self.searchHandler.call(self); } ); |
163 this.selector.find(".LdtSearchInput").bind('keyup', null, function() { self.searchHandler.call(self); } ); |
|
164 this.selector.find(".LdtSearchInput").focus(); |
164 |
165 |
165 // we need this variable because some widget can find a match in |
166 // we need this variable because some widget can find a match in |
166 // their data while at the same time other's don't. As we want the |
167 // their data while at the same time other's don't. As we want the |
167 // search field to become green when there's a match, we need a |
168 // search field to become green when there's a match, we need a |
168 // variable to remember that we had one. |
169 // variable to remember that we had one. |