aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 11:40:51 -0700
committerValerio Virgillito2012-05-16 11:40:51 -0700
commit081d72d145f3b570f0f866802e015527848f690e (patch)
treedded6e46f41e93b757cd40ccf1a4d36b6bcaf230 /js/panels/properties.reel
parent80f2b57b2126bbe90ce6ab3663ac04ffcc40a393 (diff)
downloadninja-081d72d145f3b570f0f866802e015527848f690e.tar.gz
adding a null check.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/properties.reel')
-rwxr-xr-xjs/panels/properties.reel/properties.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/properties.reel/properties.js b/js/panels/properties.reel/properties.js
index 3ec48687..fa62c850 100755
--- a/js/panels/properties.reel/properties.js
+++ b/js/panels/properties.reel/properties.js
@@ -228,7 +228,7 @@ exports.Properties = Montage.create(Component, {
228 228
229 if(isRoot) { 229 if(isRoot) {
230 var backgroundChip = this.customSections[0].content.controls["background"]; 230 var backgroundChip = this.customSections[0].content.controls["background"];
231 backgroundChip.color = ElementsMediator.getProperty(el, "background"); 231 if(backgroundChip) backgroundChip.color = ElementsMediator.getProperty(el, "background");
232 } 232 }
233 233
234 var previousInput = this.application.ninja.colorController.colorModel.input; 234 var previousInput = this.application.ninja.colorController.colorModel.input;