aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-08 14:44:17 -0700
committerNivesh Rajbhandari2012-06-08 14:44:17 -0700
commit2e10e6a57f45522606c7a0e4c56962f0dc1ea225 (patch)
tree2520cbabf44d519c9136c33b51a5f5652e341126 /js/panels
parentc52bf5141126801cb243ce0d4d93dbbcd29b45f6 (diff)
parentbad5a44824ba35cbc7f4f4d245e32b90208f00c1 (diff)
downloadninja-2e10e6a57f45522606c7a0e4c56962f0dc1ea225.tar.gz
Merge branch 'refs/heads/ninja-internal' into ScrollBarFix
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/resize-composer.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/panels/resize-composer.js b/js/panels/resize-composer.js
index 0d1774cd..2278623f 100644
--- a/js/panels/resize-composer.js
+++ b/js/panels/resize-composer.js
@@ -105,6 +105,8 @@ exports.ResizeComposer = Montage.create(Composer, {
105 captureMouseup: { 105 captureMouseup: {
106 value: function(e) { 106 value: function(e) {
107 e.preventDefault(); 107 e.preventDefault();
108 e.stopImmediatePropagation();
109 e.stopPropagation();
108 window.removeEventListener("mousemove", this, true); 110 window.removeEventListener("mousemove", this, true);
109 window.removeEventListener("mouseup", this, true); 111 window.removeEventListener("mouseup", this, true);
110 this._executeEvent("resizeEnd"); 112 this._executeEvent("resizeEnd");
@@ -113,6 +115,9 @@ exports.ResizeComposer = Montage.create(Composer, {
113 115
114 captureMousemove: { 116 captureMousemove: {
115 value: function(e) { 117 value: function(e) {
118 e.preventDefault();
119 e.stopImmediatePropagation();
120 e.stopPropagation();
116 if (this.xAxis) { 121 if (this.xAxis) {
117 this._deltaX = e.clientX - this._startX; 122 this._deltaX = e.clientX - this._startX;
118 } 123 }