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
This commit is contained in:
azaozz 2012-04-18 20:43:28 +00:00
parent 43c9e81c40
commit b85e997156
1 changed files with 1 additions and 1 deletions

View File

@ -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' );
});