[SSE] Fix Bug 36221.
This commit is contained in:
parent
8c142cc864
commit
ff502f63cd
|
@ -138,6 +138,8 @@ define([
|
||||||
me.onCellsRange(status);
|
me.onCellsRange(status);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Common.Gateway.on('processmouse', _.bind(me.onProcessMouse, me));
|
||||||
},
|
},
|
||||||
|
|
||||||
onCreateDelayedElements: function(view) {
|
onCreateDelayedElements: function(view) {
|
||||||
|
@ -1222,6 +1224,10 @@ define([
|
||||||
event.button == 0 && (this.mouse.isLeftButtonDown = false);
|
event.button == 0 && (this.mouse.isLeftButtonDown = false);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onProcessMouse: function(data) {
|
||||||
|
(data.type == 'mouseup') && (this.mouse.isLeftButtonDown = false);
|
||||||
|
},
|
||||||
|
|
||||||
showObjectMenu: function(event){
|
showObjectMenu: function(event){
|
||||||
if (this.api && !this.mouse.isLeftButtonDown && !this.rangeSelectionMode){
|
if (this.api && !this.mouse.isLeftButtonDown && !this.rangeSelectionMode){
|
||||||
(this.permissions.isEdit) ? this.fillMenuProps(this.api.asc_getCellInfo(), true, event) : this.fillViewMenuProps(this.api.asc_getCellInfo(), true, event);
|
(this.permissions.isEdit) ? this.fillMenuProps(this.api.asc_getCellInfo(), true, event) : this.fillViewMenuProps(this.api.asc_getCellInfo(), true, event);
|
||||||
|
|
Loading…
Reference in a new issue