diff --git a/src/DebugBar/Resources/openhandler.js b/src/DebugBar/Resources/openhandler.js index 2ede7ad..b5f3f1d 100644 --- a/src/DebugBar/Resources/openhandler.js +++ b/src/DebugBar/Resources/openhandler.js @@ -58,6 +58,8 @@ if (typeof(PhpDebugBar) == 'undefined') { self.hide(); }); }); + + this.addSearch(); this.$overlay = $('
').addClass(csscls('overlay')).hide().appendTo('body'); this.$overlay.on('click', function() { @@ -70,6 +72,33 @@ if (typeof(PhpDebugBar) == 'undefined') { this.$loadmorebtn.show(); this.find({}, 0, this.handleFind.bind(this)); }, + + addSearch: function(){ + var self = this; + var searchBtn = $('