mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Close "over elements" when opening the filter view
This commit is contained in:
parent
e001c3409a
commit
a16b7cd69c
1 changed files with 5 additions and 1 deletions
|
@ -34,6 +34,7 @@ BlazeComponent.extendComponent({
|
|||
open: function() {
|
||||
if (! this._isOpen.get()) {
|
||||
this._isOpen.set(true);
|
||||
EscapeActions.executeUpTo('detailsPane');
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -67,7 +68,10 @@ BlazeComponent.extendComponent({
|
|||
|
||||
setView: function(view) {
|
||||
view = _.isString(view) ? view : defaultView;
|
||||
this._view.set(view);
|
||||
if (this._view.get() !== view) {
|
||||
this._view.set(view);
|
||||
EscapeActions.executeUpTo('detailsPane');
|
||||
}
|
||||
this.open();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue