Sha256: c10e6f63ca0311653dc1038b6e6b41e0e4e5016d2d4c424e1d59a22b8d646475
Contents?: true
Size: 773 Bytes
Versions: 20
Compression:
Stored size: 773 Bytes
Contents
{ onSearch: function(el){ if (this.searchWindow) { this.searchWindow.show(); } else { this.netzkeLoadComponent('search_window', {callback: function(win){ this.searchWindow = win; win.show(); win.items.first().on('apply', function(){ win.onSearch(); return false; // do not propagate the 'apply' event }, this); win.on('hide', function(){ var query = win.getQuery(); if (win.closeRes == 'search'){ var store = this.getStore(), proxy = store.getProxy(); proxy.extraParams.query = query; store.load(); } el.toggle(query.length > 0); // toggle based on the state }, this); }, scope: this}); } } }
Version data entries
20 entries across 20 versions & 1 rubygems