mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
fixed redact btn action
This commit is contained in:
@ -192,7 +192,9 @@ define([
|
||||
dataHintDirection: 'bottom',
|
||||
dataHintOffset: 'medium'
|
||||
});
|
||||
this.buttonRedactSearch.on('click', _.bind(this.onClickClosePanel, this));
|
||||
this.buttonRedactSearch.on('click', _.bind(function() {
|
||||
this.fireEvent('search:showredact');
|
||||
}, this));
|
||||
|
||||
this.$resultsContainer = $('#search-results');
|
||||
this.$resultsContainer.hide();
|
||||
|
||||
@ -114,6 +114,9 @@ define([
|
||||
},
|
||||
'RedactTab': {
|
||||
'search:showredact': _.bind(this.onShowHideRedactSearch, this)
|
||||
},
|
||||
'Common.Views.SearchPanel': {
|
||||
'search:showredact': _.bind(this.onShowHideRedactSearch, this)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user