mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01: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() {
|
open: function() {
|
||||||
if (! this._isOpen.get()) {
|
if (! this._isOpen.get()) {
|
||||||
this._isOpen.set(true);
|
this._isOpen.set(true);
|
||||||
|
EscapeActions.executeUpTo('detailsPane');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -67,7 +68,10 @@ BlazeComponent.extendComponent({
|
||||||
|
|
||||||
setView: function(view) {
|
setView: function(view) {
|
||||||
view = _.isString(view) ? view : defaultView;
|
view = _.isString(view) ? view : defaultView;
|
||||||
this._view.set(view);
|
if (this._view.get() !== view) {
|
||||||
|
this._view.set(view);
|
||||||
|
EscapeActions.executeUpTo('detailsPane');
|
||||||
|
}
|
||||||
this.open();
|
this.open();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue