diff options
author | Valerio Virgillito | 2012-05-16 11:40:51 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 11:40:51 -0700 |
commit | 081d72d145f3b570f0f866802e015527848f690e (patch) | |
tree | dded6e46f41e93b757cd40ccf1a4d36b6bcaf230 | |
parent | 80f2b57b2126bbe90ce6ab3663ac04ffcc40a393 (diff) | |
download | ninja-081d72d145f3b570f0f866802e015527848f690e.tar.gz |
adding a null check.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-x | js/panels/properties.reel/properties.js | 2 |
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; |