Image upload inside CKEditor (via drag and drop) seems to be desactivated on IE9.

SVN:trunk[4315]
This commit is contained in:
Denis Flaven
2016-08-05 10:18:22 +00:00
parent c0a7bbaa72
commit 53fb619da1

View File

@@ -473,12 +473,15 @@ EOF
}
});
}
oEditor.widgets.registered.uploadimage.onUploaded = function( upload ) {
var oData = JSON.parse(upload.xhr.responseText);
this.replaceWith( '<img src="' + upload.url + '" ' +
'width="' + oData.width + '" ' +
'height="' + oData.height + '">' );
}
if (oEditor.widgets.registered.uploadimage)
{
oEditor.widgets.registered.uploadimage.onUploaded = function( upload ) {
var oData = JSON.parse(upload.xhr.responseText);
this.replaceWith( '<img src="' + upload.url + '" ' +
'width="' + oData.width + '" ' +
'height="' + oData.height + '">' );
}
}
});
});
EOF