diff options
author | Jon Reid | 2012-03-27 18:22:10 -0700 |
---|---|---|
committer | Jon Reid | 2012-03-27 18:22:10 -0700 |
commit | 7845d312396e3329ac9246d4c13e99cb623216d5 (patch) | |
tree | e0b42cec27c8598545af5c3754d1f20146f436e4 /js/panels/Timeline/Layer.reel/Layer.js | |
parent | 06f247d881f4cfd790d635c6e310ae7f97724339 (diff) | |
download | ninja-7845d312396e3329ac9246d4c13e99cb623216d5.tar.gz |
Timeline: Stability fixes for drag-and-drop and page switching.
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 9cf321b1..c69f28b0 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -417,6 +417,9 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
417 | 417 | ||
418 | setData:{ | 418 | setData:{ |
419 | value:function(){ | 419 | value:function(){ |
420 | if (typeof(this.layerData) === "undefined") { | ||
421 | return; | ||
422 | } | ||
420 | this.layerName = this.layerData.layerName; | 423 | this.layerName = this.layerData.layerName; |
421 | this.layerID = this.layerData.layerID; | 424 | this.layerID = this.layerData.layerID; |
422 | this.arrLayerStyles = this.layerData.arrLayerStyles; | 425 | this.arrLayerStyles = this.layerData.arrLayerStyles; |