- this.$replaceButton.attr("disabled","disabled");
- this.options = Array();
-
- // handlers
- this.$searchInput.change(function(event){
- self.searchCursor = null;
- });
- this.$replaceInput.change(function(event){
- self.searchCursor = null;
- });
-
- $("#side-search input:checkbox").each(function() {
- self.options[this.id] = this.checked;
- }).change(function(){
- self.options[this.id] = this.checked;
- self.searchCursor = null;
- });
-
- this.$searchButton.click(function(){
- if (!self.search())
- alert('Brak wyników.');
- });
-
- this.$searchPrevButton.click(function(){
- if (!self.search(false))
- alert('Brak wyników.');
- });
-
- this.$replaceButton.click(function(){
- self.replace();
- });
-
- old_callback.call(this);
- };
+ // handlers
+ this.$searchInput.change(function(event){
+ self.searchCursor = null;
+ });
+ this.$replaceInput.change(function(event){
+ self.searchCursor = null;
+ });