[SSE] Fix Bug 36088.

This commit is contained in:
Julia Radzhabova 2017-10-24 17:44:11 +03:00
parent 0be0948104
commit 9c0d402b47

View file

@ -343,6 +343,8 @@ define([
this.insert(-1, this.saved);
delete this.saved;
Common.Gateway.on('processmouse', _.bind(this.onProcessMouse, this));
this.rendered = true;
return this;
},
@ -362,6 +364,14 @@ define([
}
},
onProcessMouse: function(data) {
if (data.type == 'mouseup') {
var tab = this.getActive(true);
if (tab)
tab.mouseup();
}
},
add: function(tabs) {
return this.insert(-1, tabs) > 0;
},