X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/36f6233fd79390ad5af8a1532eac60a0ae57c825..f938afb8ab4cb091d12e0ef0311eaea14b774798:/platforma/static/filebrowser/js/FB_CKEditor.js?ds=sidebyside diff --git a/platforma/static/filebrowser/js/FB_CKEditor.js b/platforma/static/filebrowser/js/FB_CKEditor.js deleted file mode 100644 index 74d8d643..00000000 --- a/platforma/static/filebrowser/js/FB_CKEditor.js +++ /dev/null @@ -1,24 +0,0 @@ -function ProtectPath(path) { - path = path.replace( /\\/g,'\\\\'); - path = path.replace( /'/g,'\\\''); - return path ; -} - -function gup( name ) { - name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); - var regexS = "[\\?&]"+name+"=([^&#]*)"; - var regex = new RegExp(regexS); - var results = regex.exec(window.location.href); - if(results == null) - return ""; - else - return results[1]; -} - -function OpenFile(fileUrl) { - var CKEditorFuncNum = gup('CKEditorFuncNum'); - window.top.opener.CKEDITOR.tools.callFunction(CKEditorFuncNum,encodeURI(fileUrl).replace('#','%23')); - window.top.close(); - window.top.opener.focus(); -} -