From b85e99715661f93f807f0746582fb97565d39b51 Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 18 Apr 2012 20:43:28 +0000 Subject: [PATCH] Remove extra slash when opening the gallery thickbox popup from the visual editor, props SergeyBiryukov, fixes #19850 git-svn-id: http://svn.automattic.com/wordpress/trunk@20519 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js b/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js index 6f5718489..9b2d02809 100644 --- a/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js +++ b/wp-includes/js/tinymce/plugins/wpgallery/editor_plugin_src.js @@ -17,7 +17,7 @@ if ( ed.dom.getAttrib(el, 'class').indexOf('wpGallery') == -1 ) return; post_id = tinymce.DOM.get('post_ID').value; - tb_show('', tinymce.documentBaseURL + '/media-upload.php?post_id='+post_id+'&tab=gallery&TB_iframe=true&width='+W+'&height='+H); + tb_show('', tinymce.documentBaseURL + 'media-upload.php?post_id='+post_id+'&tab=gallery&TB_iframe=true&width='+W+'&height='+H); tinymce.DOM.setStyle( ['TB_overlay','TB_window','TB_load'], 'z-index', '999999' ); });