aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmen Kesablyan2012-03-28 14:37:49 -0700
committerArmen Kesablyan2012-03-28 14:37:49 -0700
commit01211be8e96360dcccdc421e5cb19c7708f5dfdd (patch)
tree6f25281536479b387ed08d7f383a366ab245806e
parent3fd2cdb59027b3f973b9165db9db4fdd22026941 (diff)
downloadninja-01211be8e96360dcccdc421e5cb19c7708f5dfdd.tar.gz
Bug #1073: Panels interact with hottest drag drop
Signed-off-by: Armen Kesablyan <armen@motorola.com>
-rw-r--r--js/panels/drag-drop-composer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/drag-drop-composer.js b/js/panels/drag-drop-composer.js
index b36c8334..4791bd6d 100644
--- a/js/panels/drag-drop-composer.js
+++ b/js/panels/drag-drop-composer.js
@@ -91,7 +91,9 @@ exports.DragDropComposer = Montage.create(Composer, {
91 e.stopImmediatePropagation(); 91 e.stopImmediatePropagation();
92 if (!this._dragover) { 92 if (!this._dragover) {
93 this._dragover = true; 93 this._dragover = true;
94 this.component.element.classList.add("dragOver"); 94 if (this.component.application.ninja.componentBeingDragged) {
95 this.component.element.classList.add("dragOver");
96 }
95 } 97 }
96 } 98 }
97 }, 99 },