[SSE] Fix Bug 28388.

This commit is contained in:
Julia Radzhabova 2017-09-18 16:00:10 +03:00
parent f5a3a86ba0
commit d6aeb9f679

View file

@ -1228,7 +1228,7 @@ define([
onSelectionChanged: function(info){
if (!this.mouse.isLeftButtonDown && !this.rangeSelectionMode &&
this.currentMenu && this.currentMenu.isVisible()){
(this.permissions.isEdit) ? this.fillMenuProps(info, true, event) : this.fillViewMenuProps(info, true, event);
(this.permissions.isEdit) ? this.fillMenuProps(info, true) : this.fillViewMenuProps(info, true);
}
},
@ -1503,7 +1503,7 @@ define([
},
showPopupMenu: function(menu, value, event){
if (!_.isUndefined(menu) && menu !== null){
if (!_.isUndefined(menu) && menu !== null && event){
Common.UI.Menu.Manager.hideAll();
var me = this,