aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorhwc4872012-02-06 13:09:32 -0800
committerhwc4872012-02-06 13:09:32 -0800
commit1a8c017e37c5c0dec445ebafad634ef997fcd1bb (patch)
tree3380cb8ef0636dc0f662a2903f759a41749c28e0 /js/panels
parent465636cc0676d7fb83939d6fdb9204e474d47d46 (diff)
parent486d9a31a85dd833a1c798049a00403756703034 (diff)
downloadninja-1a8c017e37c5c0dec445ebafad634ef997fcd1bb.tar.gz
Merge branch 'ToolFixes' of github.com:mqg734/ninja-internal into working
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/properties/content.reel/content.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/panels/properties/content.reel/content.js b/js/panels/properties/content.reel/content.js
index 20dc308f..0088447a 100644
--- a/js/panels/properties/content.reel/content.js
+++ b/js/panels/properties/content.reel/content.js
@@ -197,8 +197,11 @@ exports.Content = Montage.create(Component, {
197 197
198 if(control.type !== "color") { 198 if(control.type !== "color") {
199 currentValue = ElementsMediator.getProperty(el, control.prop, control.valueMutator); 199 currentValue = ElementsMediator.getProperty(el, control.prop, control.valueMutator);
200 currentValue ? currentValue = currentValue : currentValue = control.defaultValue; 200 if(currentValue === null)
201 this.customSections[0].content.controls[control.id] = currentValue; 201 {
202 currentValue = control.defaultValue;
203 }
204 this.customSections[i].content.controls[control.id] = currentValue;
202 } 205 }
203 else 206 else
204 { 207 {