[SSE] Fix Bug 36088.
This commit is contained in:
parent
0be0948104
commit
9c0d402b47
|
@ -343,6 +343,8 @@ define([
|
||||||
this.insert(-1, this.saved);
|
this.insert(-1, this.saved);
|
||||||
delete this.saved;
|
delete this.saved;
|
||||||
|
|
||||||
|
Common.Gateway.on('processmouse', _.bind(this.onProcessMouse, this));
|
||||||
|
|
||||||
this.rendered = true;
|
this.rendered = true;
|
||||||
return this;
|
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) {
|
add: function(tabs) {
|
||||||
return this.insert(-1, tabs) > 0;
|
return this.insert(-1, tabs) > 0;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue