aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/color-controller.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-01 17:05:07 -0800
committerNivesh Rajbhandari2012-02-01 17:05:07 -0800
commit830b011d94d728882286d72e129f7405134957c7 (patch)
tree72a4fb831d74c5d3f28ddca731431c59fb516bd8 /js/controllers/color-controller.js
parentaffafafc4db16e5f918c74dfc919025d4c563cc6 (diff)
downloadninja-830b011d94d728882286d72e129f7405134957c7.tar.gz
Updated color code in the PI to go through element mediator.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers/color-controller.js')
-rw-r--r--js/controllers/color-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/controllers/color-controller.js b/js/controllers/color-controller.js
index 925b525d..e3b15f1c 100644
--- a/js/controllers/color-controller.js
+++ b/js/controllers/color-controller.js
@@ -218,6 +218,9 @@ exports.ColorController = Montage.create(Component, {
218 } else if (mode === 'gradient'){ 218 } else if (mode === 'gradient'){
219 color = e._event.value.value; 219 color = e._event.value.value;
220 } 220 }
221 color.mode = panelMode;
222 color.wasSetByCode = true;
223 color.type = "change";
221 //////////////////////////////////////////////////////////// 224 ////////////////////////////////////////////////////////////
222 //////////////////////////////////////////////////////////// 225 ////////////////////////////////////////////////////////////
223 // 226 //