aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-07 16:12:23 -0800
committerValerio Virgillito2012-02-07 16:12:23 -0800
commita930295dfebd7fe7b4db5324b2048e6e7366c6d8 (patch)
treeeb5129f04b9d3cae0a92fd7c4eeae1d5c24b1f49
parent65145cebdf4cde2767cbd0489ddcea5863c2ca9e (diff)
downloadninja-a930295dfebd7fe7b4db5324b2048e6e7366c6d8.tar.gz
IKNINJA-616 - Drag and drop images fix for the PI and source
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rw-r--r--js/mediators/drag-drop-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/drag-drop-mediator.js b/js/mediators/drag-drop-mediator.js
index aacb228c..ede71383 100644
--- a/js/mediators/drag-drop-mediator.js
+++ b/js/mediators/drag-drop-mediator.js
@@ -122,7 +122,7 @@ exports.DragDropMediator = Montage.create(Component, {
122 122
123 NJUtils.makeElementModel(domElem, "SVG", "block"); 123 NJUtils.makeElementModel(domElem, "SVG", "block");
124 } else { // treat as a regular image 124 } else { // treat as a regular image
125 domElem = NJUtils.makeNJElement("image", "Image", "block"); 125 domElem = NJUtils.makeNJElement("image", "image", "image");
126 domElem.src = evt2.currentTarget.result; 126 domElem.src = evt2.currentTarget.result;
127 } 127 }
128 128