X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b0d77fd4dd2b177e77e2bb038a5864567adfd9df..d64a8451dafc98e8f71455a55d123d22f3368ef9:/platforma/static/filebrowser/js/FB_TinyMCE.js?ds=sidebyside diff --git a/platforma/static/filebrowser/js/FB_TinyMCE.js b/platforma/static/filebrowser/js/FB_TinyMCE.js index 86d6939b..b2d4d60f 100644 --- a/platforma/static/filebrowser/js/FB_TinyMCE.js +++ b/platforma/static/filebrowser/js/FB_TinyMCE.js @@ -7,10 +7,10 @@ var FileBrowserDialogue = { fileSubmit : function (FileURL) { var URL = FileURL; var win = tinyMCEPopup.getWindowArg("window"); - + // insert information now win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL; - + // change width/height & show preview if (win.ImageDialog){ if (win.ImageDialog.getImageData) @@ -18,7 +18,7 @@ var FileBrowserDialogue = { if (win.ImageDialog.showPreviewImage) win.ImageDialog.showPreviewImage(URL); } - + // close popup window tinyMCEPopup.close(); }