[SSE] Fix context menu on pivot fields

This commit is contained in:
Julia Radzhabova 2021-07-29 18:33:20 +03:00
parent 2aa9cb80f4
commit fde17e3032

View file

@ -638,8 +638,6 @@ define([
}, },
onColumnsSelect: function(type, picker, item, record, e){ onColumnsSelect: function(type, picker, item, record, e){
var btn = $(e.target);
if (btn && btn.hasClass('listitem-icon')) {
this._state.field = {record: record, type: type, length: picker.store.length}; this._state.field = {record: record, type: type, length: picker.store.length};
if (this.fieldsMenu) { if (this.fieldsMenu) {
if (this.fieldsMenu.isVisible()) { if (this.fieldsMenu.isVisible()) {
@ -772,7 +770,6 @@ define([
}, 10); }, 10);
e.stopPropagation(); e.stopPropagation();
e.preventDefault(); e.preventDefault();
}
}, },
setLocked: function (locked) { setLocked: function (locked) {