aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorJon Reid2012-05-17 16:52:16 -0700
committerJon Reid2012-05-17 16:52:16 -0700
commita696dffcc84b4d2719f8fa918676f9575858ca9a (patch)
treeb1a04c4b9ac1f9625962351b108375b6ed4cf481 /js/controllers
parent9f60a7393d2b6e2eb14ae2d8fb1d0fe6137e3ea6 (diff)
downloadninja-a696dffcc84b4d2719f8fa918676f9575858ca9a.tar.gz
Timeline: Multiselect improvements. New convenience methods. Multiselect
drag and drop.
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/elements/element-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/element-controller.js b/js/controllers/elements/element-controller.js
index 20225c61..eecf319e 100755
--- a/js/controllers/elements/element-controller.js
+++ b/js/controllers/elements/element-controller.js
@@ -17,7 +17,7 @@ exports.ElementController = Montage.create(Component, {
17 if(selectedLayerIndex === 0) { 17 if(selectedLayerIndex === 0) {
18 this.application.ninja.currentSelectedContainer.appendChild(el); 18 this.application.ninja.currentSelectedContainer.appendChild(el);
19 } else { 19 } else {
20 var element = this.application.ninja.timeline.arrLayers[selectedLayerIndex].layerData.elementsList[0]; 20 var element = this.application.ninja.timeline.arrLayers[selectedLayerIndex].layerData.stageElement;
21 element.parentNode.insertBefore(el, element.nextSibling); 21 element.parentNode.insertBefore(el, element.nextSibling);
22 } 22 }
23 } else { 23 } else {