equal
deleted
inserted
replaced
153 /* show the search field if it is not shown */ |
153 /* show the search field if it is not shown */ |
154 if ( this._searchBlockOpen == false ) { |
154 if ( this._searchBlockOpen == false ) { |
155 this.selector.find(".LdtSearch").show("blind", { direction: "horizontal"}, 100); |
155 this.selector.find(".LdtSearch").show("blind", { direction: "horizontal"}, 100); |
156 |
156 |
157 this.selector.find(".LdtSearchInput").css('background-color','#fff'); |
157 this.selector.find(".LdtSearchInput").css('background-color','#fff'); |
158 this.selector.find(".LdtSearchInput").focus(); |
|
159 this.selector.find(".LdtSearchInput").attr('value', this._searchLastValue); |
158 this.selector.find(".LdtSearchInput").attr('value', this._searchLastValue); |
160 this._Popcorn.trigger("IriSP.search", this._searchLastValue); // trigger the search to make it more natural. |
159 this._Popcorn.trigger("IriSP.search", this._searchLastValue); // trigger the search to make it more natural. |
161 |
160 |
162 this._searchBlockOpen = true; |
161 this._searchBlockOpen = true; |
163 this.selector.find(".LdtSearchInput").bind('keyup', null, function() { self.searchHandler.call(self); } ); |
162 this.selector.find(".LdtSearchInput").bind('keyup', null, function() { self.searchHandler.call(self); } ); |