diff options
author | Nivesh Rajbhandari | 2012-02-01 17:05:07 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-01 17:05:07 -0800 |
commit | 830b011d94d728882286d72e129f7405134957c7 (patch) | |
tree | 72a4fb831d74c5d3f28ddca731431c59fb516bd8 /js/controllers/color-controller.js | |
parent | affafafc4db16e5f918c74dfc919025d4c563cc6 (diff) | |
download | ninja-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.js | 3 |
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 | // |