]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/themes/advanced/js/image.js
Wordpress 2.6.2
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / themes / advanced / js / image.js
index 4c018eda33a001409d371b27cc1ae78c8b98d8c6..63c843d2d011022a0e7cb8e3bbb3935761d42379 100644 (file)
@@ -90,7 +90,7 @@ var ImageDialog = {
                if (el && el.nodeName == 'IMG') {
                        ed.dom.setAttribs(el, args);
                } else {
-                       ed.execCommand('mceInsertContent', false, '<img id="__mce_tmp" src="javascript:;" />', {skip_undo : 1});
+                       ed.execCommand('mceInsertContent', false, '<img id="__mce_tmp" />', {skip_undo : 1});
                        ed.dom.setAttribs('__mce_tmp', args);
                        ed.dom.setAttrib('__mce_tmp', 'id', '');
                        ed.undoManager.add();