]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/tinymce/themes/advanced/js/image.js
Wordpress 3.0.3-scripts
[autoinstalls/wordpress.git] / wp-includes / js / tinymce / themes / advanced / js / image.js
index 4c018eda33a001409d371b27cc1ae78c8b98d8c6..a5ad46f72765cc13f5c2cfc264cab00b31e506f8 100644 (file)
@@ -76,7 +76,7 @@ var ImageDialog = {
                        });
                } else
                        args.style = this.styleVal;
-               
+
                tinymce.extend(args, {
                        src : f.src.value,
                        alt : f.alt.value,
@@ -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();