[SSE] Fix Bug 44904
This commit is contained in:
parent
2195e0f7ec
commit
23d3d7fb8a
|
@ -1295,7 +1295,8 @@ define([
|
|||
me.tooltips.filter.text = '';
|
||||
me.tooltips.filter.isHidden = true;
|
||||
}
|
||||
if (me.permissions.isEdit && !me.dlgFilter) {
|
||||
if (me.permissions.isEdit) {
|
||||
if (!me.dlgFilter) {
|
||||
me.dlgFilter = new SSE.Views.AutoFilterDialog({api: this.api}).on({
|
||||
'close': function () {
|
||||
if (me.api) {
|
||||
|
@ -1322,6 +1323,8 @@ define([
|
|||
if (y+me.dlgFilter.options.height > docheight)
|
||||
y = docheight - me.dlgFilter.options.height - 5;
|
||||
me.dlgFilter.show(x, y);
|
||||
} else
|
||||
me.dlgFilter.close();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue