Simpler deployment.
[redakcja.git] / 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
deleted file mode 100755 (executable)
index 86d6939..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-var FileBrowserDialogue = {
-    init : function () {
-        // remove tinymce stylesheet.
-        var allLinks = document.getElementsByTagName("link");
-        allLinks[allLinks.length-1].parentNode.removeChild(allLinks[allLinks.length-1]);
-    },
-    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)
-                win.ImageDialog.getImageData();
-            if (win.ImageDialog.showPreviewImage)
-                win.ImageDialog.showPreviewImage(URL);
-        }
-        
-        // close popup window
-        tinyMCEPopup.close();
-    }
-}
-
-tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue);
-