]> git.mxchange.org Git - friendica.git/blobdiff - library/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
update tinymce to 3.5b2 to fix issues with FF 11 and pasting into code blocks
[friendica.git] / library / tinymce / jscripts / tiny_mce / plugins / advimage / editor_plugin_src.js
old mode 100755 (executable)
new mode 100644 (file)
index 2625dd2..d2678cb
@@ -14,7 +14,7 @@
                        // Register commands\r
                        ed.addCommand('mceAdvImage', function() {\r
                                // Internal image object like a flash placeholder\r
-                               if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)\r
+                               if (ed.dom.getAttrib(ed.selection.getNode(), 'class', '').indexOf('mceItem') != -1)\r
                                        return;\r
 \r
                                ed.windowManager.open({\r