aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-04-26 10:12:58 -0700
committerJose Antonio Marquez2012-04-26 10:12:58 -0700
commit6c61c52bd86c90ce16107a6381ff242de9032211 (patch)
tree37f4b0fb6d6014b6b136ea73fdb642f567913fd3
parent60c4f4e38cd0c516a0840bec416a688d0bad0d49 (diff)
downloadninja-6c61c52bd86c90ce16107a6381ff242de9032211.tar.gz
Fixing duplicate layer bug
-rwxr-xr-xjs/mediators/drag-drop-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/drag-drop-mediator.js b/js/mediators/drag-drop-mediator.js
index eedab8fc..12f8dc70 100755
--- a/js/mediators/drag-drop-mediator.js
+++ b/js/mediators/drag-drop-mediator.js
@@ -133,7 +133,7 @@ exports.DragDropMediator = Montage.create(Component, {
133 'left' : (parseInt(e.currentTarget.filePosition.x) - parseInt(this.application.ninja.stage.userContentLeft)) + 'px' 133 'left' : (parseInt(e.currentTarget.filePosition.x) - parseInt(this.application.ninja.stage.userContentLeft)) + 'px'
134 }; 134 };
135 // 135 //
136 self.application.ninja.elementMediator.addElements(element, rules); 136 //self.application.ninja.elementMediator.addElements(element, rules);
137 } else { 137 } else {
138 //TODO: HANDLE ERROR ON SAVING FILE TO BE ADDED AS ELEMENT 138 //TODO: HANDLE ERROR ON SAVING FILE TO BE ADDED AS ELEMENT
139 } 139 }