X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/717c14c014e3c988bcb392599a47ffa92630da78..00a90d6175599e055f5a84697c8388d81ac1b007:/platforma/static/filebrowser/js/FB_FileBrowseField.js?ds=inline diff --git a/platforma/static/filebrowser/js/FB_FileBrowseField.js b/platforma/static/filebrowser/js/FB_FileBrowseField.js old mode 100755 new mode 100644 index b0696cea..5e3aa9f5 --- a/platforma/static/filebrowser/js/FB_FileBrowseField.js +++ b/platforma/static/filebrowser/js/FB_FileBrowseField.js @@ -1,5 +1,5 @@ function FileSubmit(FileURL, ThumbURL, FileType) { - + // var input_id=window.name.split("___").join("."); var input_id=window.name.replace(/____/g,'-').split("___").join("."); var preview_id = 'image_' + input_id; @@ -11,7 +11,7 @@ function FileSubmit(FileURL, ThumbURL, FileType) { help = opener.document.getElementById(help_id); // set new value for input field input.value = FileURL; - + if (ThumbURL && FileType != "") { // selected file is an image and thumbnail is available: // display the preview-image (thumbnail)