diff options
author | Armen Kesablyan | 2012-06-19 00:45:26 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-19 00:45:26 -0700 |
commit | c59eb371559a3061ce53223e249ca97daace5968 (patch) | |
tree | f9540e26c0f273d35f92010605da65dd85bbe70c /node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js | |
parent | 0f040acabfb7a4bf3138debec5aff869487ceb11 (diff) | |
parent | 918a4f5870e972b6e4e301c3237e065a1ffd26f5 (diff) | |
download | ninja-c59eb371559a3061ce53223e249ca97daace5968.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js')
-rw-r--r-- | node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js b/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js index 13ba0518..3665ca1b 100644 --- a/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js +++ b/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor.js | |||
@@ -27,7 +27,7 @@ The easiest way to create a RichTextEditor is with a serialization and a <div | |||
27 | <pre class="sh_javascript"> | 27 | <pre class="sh_javascript"> |
28 | { | 28 | { |
29 | "editor": { | 29 | "editor": { |
30 | "prototype": "montage/ui/rich-text-editor/rich-text-editor.reel", | 30 | "prototype": "ui/rich-text-editor/rich-text-editor.reel", |
31 | "properties": { | 31 | "properties": { |
32 | "element": {"#": "editor" } | 32 | "element": {"#": "editor" } |
33 | } | 33 | } |
@@ -649,13 +649,13 @@ exports.RichTextEditor = Montage.create(RichTextEditorBase,/** @lends module:"mo | |||
649 | clearTimeout(thisRef._updateValuesTimeout); | 649 | clearTimeout(thisRef._updateValuesTimeout); |
650 | delete thisRef._updateValuesTimeout; | 650 | delete thisRef._updateValuesTimeout; |
651 | 651 | ||
652 | if (defaultEventManager.registeredEventListenersForEventType_onTarget_("change@value", this)) { | 652 | if (defaultEventManager.registeredEventListenersForEventType_onTarget_("change@value", thisRef)) { |
653 | prevValue = thisRef._value; | 653 | prevValue = thisRef._value; |
654 | if (thisRef.value !== prevValue) { | 654 | if (thisRef.value !== prevValue) { |
655 | thisRef.dispatchEvent(MutableEvent.changeEventForKeyAndValue("value" , prevValue).withPlusValue(thisRef.value)); | 655 | thisRef.dispatchEvent(MutableEvent.changeEventForKeyAndValue("value" , prevValue).withPlusValue(thisRef.value)); |
656 | } | 656 | } |
657 | } | 657 | } |
658 | if (defaultEventManager.registeredEventListenersForEventType_onTarget_("change@textValue", this)) { | 658 | if (defaultEventManager.registeredEventListenersForEventType_onTarget_("change@textValue", thisRef)) { |
659 | prevValue = thisRef._textValue; | 659 | prevValue = thisRef._textValue; |
660 | if (thisRef.textValue !== prevValue) { | 660 | if (thisRef.textValue !== prevValue) { |
661 | thisRef.dispatchEvent(MutableEvent.changeEventForKeyAndValue("textValue" , prevValue).withPlusValue(thisRef.textValue)); | 661 | thisRef.dispatchEvent(MutableEvent.changeEventForKeyAndValue("textValue" , prevValue).withPlusValue(thisRef.textValue)); |