aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Panel.reel/Panel.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-12 00:02:22 -0700
committerValerio Virgillito2012-06-12 00:02:22 -0700
commit844d59d85a1881525c79a1f44a35a9ea59e70e4a (patch)
tree46b58a5fda9d9baa93c79dbceeb494953f87fdd2 /js/panels/Panel.reel/Panel.js
parent1b510d86ebdd3cb58162e20cb9412e93d6f473c1 (diff)
downloadninja-844d59d85a1881525c79a1f44a35a9ea59e70e4a.tar.gz
removing the serializable from the timeline repetition and fixing the panels currentDocument binding
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/Panel.reel/Panel.js')
-rwxr-xr-xjs/panels/Panel.reel/Panel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Panel.reel/Panel.js b/js/panels/Panel.reel/Panel.js
index fde5c962..15eb4da9 100755
--- a/js/panels/Panel.reel/Panel.js
+++ b/js/panels/Panel.reel/Panel.js
@@ -122,8 +122,8 @@ exports.Panel = Montage.create(Component, {
122 122
123 this._currentDocument = value; 123 this._currentDocument = value;
124 124
125 if(typeof this.panelContent.content[0].controller._currentDocument !== "undefined") { 125 if(typeof this.panelContent.content._element.controller._currentDocument !== "undefined") {
126 this.panelContent.content[0].controller.currentDocument = this._currentDocument; 126 this.panelContent.content._element.controller.currentDocument = this._currentDocument;
127 } 127 }
128 128
129 if(!value) { 129 if(!value) {