Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/public_html/assets/components/tinymce/ |
Ext.ns('Tiny'); Tiny.browserCallback = function(data) { var FileBrowserDialogue = { init : function () {} ,selectURL : function (url) { var win = tinyMCEPopup.getWindowArg('window'); /* insert information now */ win.document.getElementById(tinyMCEPopup.getWindowArg('input')).value = url; if (typeof(win.ImageDialog) != 'undefined') { /* for image browsers: update image dimensions */ if (win.ImageDialog.getImageData) { win.ImageDialog.getImageData(); } win.ImageDialog.showPreviewImage(url); } /* close popup window */ tinyMCEPopup.close(); win.focus(); win.document.focus(); } }; var fileUrl; if (inRevo20) { fileUrl = unescape(data.relativeUrl); } else { fileUrl = data.fullRelativeUrl; } tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue); function OpenFile(fileUrl){ FileBrowserDialogue.selectURL(fileUrl); } OpenFile(fileUrl); };