diff options
author | Jose Antonio Marquez | 2012-04-26 10:12:58 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-04-26 10:12:58 -0700 |
commit | 6c61c52bd86c90ce16107a6381ff242de9032211 (patch) | |
tree | 37f4b0fb6d6014b6b136ea73fdb642f567913fd3 /js | |
parent | 60c4f4e38cd0c516a0840bec416a688d0bad0d49 (diff) | |
download | ninja-6c61c52bd86c90ce16107a6381ff242de9032211.tar.gz |
Fixing duplicate layer bug
Diffstat (limited to 'js')
-rwxr-xr-x | js/mediators/drag-drop-mediator.js | 2 |
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 | } |