From 97fc06f70632835b6f294fa064bb7bca59269869 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 16 Oct 2012 18:16:29 +0000 Subject: [PATCH] TinyMCE: fix showing popup buttons on images in WebKit, fixes #22188 git-svn-id: http://core.svn.wordpress.org/trunk@22246 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js b/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js index c02a2ec0f0..1592a50085 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js +++ b/wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin_src.js @@ -21,7 +21,7 @@ if ( tinymce.isGecko ) ed.selection.select(parent); else if ( tinymce.isWebKit ) - ed.dom.events.cancel(e); + ed.dom.events.prevent(e); } });