diff options
author | Valerio Virgillito | 2012-06-05 00:11:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-05 00:11:03 -0700 |
commit | f7e4257745ccd44b8d24555f0ef787429d6e472c (patch) | |
tree | 1965bbb794036a8d6184630c188a34f7a6d956e0 /node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js | |
parent | c1ec69879028220b0c3f11ad6e24035bf527802c (diff) | |
download | ninja-f7e4257745ccd44b8d24555f0ef787429d6e472c.tar.gz |
adding the latest v0.10 montage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js')
-rw-r--r-- | node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js b/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js index 71169d00..0bdf67e7 100644 --- a/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js +++ b/node_modules/montage/ui/rich-text-editor/rich-text-editor.reel/rich-text-editor-base.js | |||
@@ -593,7 +593,7 @@ exports.RichTextEditorBase = Montage.create(Component,/** @lends module:"montage | |||
593 | editorInnerElement.appendChild(contents); | 593 | editorInnerElement.appendChild(contents); |
594 | contentChanged = true; | 594 | contentChanged = true; |
595 | } else { | 595 | } else { |
596 | for (i = 0; (content = contents[i]); i++) { | 596 | for (i = 0; contents && (content = contents[i]); i++) { |
597 | editorInnerElement.appendChild(content); | 597 | editorInnerElement.appendChild(content); |
598 | contentChanged = true; | 598 | contentChanged = true; |
599 | } | 599 | } |