X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b0d77fd4dd2b177e77e2bb038a5864567adfd9df..00a90d6175599e055f5a84697c8388d81ac1b007:/platforma/static/filebrowser/js/FB_TinyMCE.js 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(); }