diff options
author | Jonathan Duran | 2012-05-22 10:33:10 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-05-22 10:33:10 -0700 |
commit | 0b6dfbbc7f6c0a67bd415ee8d64685b3f209edfa (patch) | |
tree | 1c78ccc588f04bac9bff4de82e527a128162cf4f /js/mediators | |
parent | 7b76e4664b35f044e9f24c060f1e092cb5e5c4b0 (diff) | |
parent | 119fec85a659cc470377032abab8c6e60fa55b1b (diff) | |
download | ninja-0b6dfbbc7f6c0a67bd415ee8d64685b3f209edfa.tar.gz |
Merge branch 'refs/heads/timeline-local' into TimelineUber
Diffstat (limited to 'js/mediators')
-rwxr-xr-x | js/mediators/element-mediator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 06514076..9c8a9ac4 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js | |||
@@ -524,9 +524,9 @@ exports.ElementMediator = Montage.create(Component, { | |||
524 | length = layersDraggedArray.length; | 524 | length = layersDraggedArray.length; |
525 | 525 | ||
526 | for(var i=0; documentRoot.children[i]; i++) { | 526 | for(var i=0; documentRoot.children[i]; i++) { |
527 | if(documentRoot.children[i] === layerDroppedAfter.layerData.elementsList[0]) { | 527 | if(documentRoot.children[i] === layerDroppedAfter.layerData.stageElement) { |
528 | if(length >0){ | 528 | if(length >0){ |
529 | documentRoot.children[i].parentNode.insertBefore(layersDraggedArray[length-1].layerData.elementsList[0], documentRoot.children[i]); | 529 | documentRoot.children[i].parentNode.insertBefore(layersDraggedArray[length-1].layerData.stageElement, documentRoot.children[i]); |
530 | } | 530 | } |
531 | 531 | ||
532 | /* Will require for Multiple Drag n Drop */ | 532 | /* Will require for Multiple Drag n Drop */ |