HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/EvLuik/vanluiktegelwerken.nl/wwwroot/plugins/tinymce4/filebrowser.js
function wrFilebrowser (field_name, url, type, win) {
  poppedUpWin = win;
  inputField = field_name;
  if (type == "file") {type = "downloads"};
    var cmsURL = "%URL%";    

    if (cmsURL.indexOf("?") < 0) {
        cmsURL = cmsURL + "?type="+ type ;
    }
    else {
        cmsURL = cmsURL + "&type="+type ;
    }

    tinymce.activeEditor.windowManager.open(
        {
            title: 'File Manager',
            url  : cmsURL,
            width : 800,
            height : 600,
//            resizable : "yes",
            inline : 1,
//            close_previous : "no",
//            popup_css : false,
//            scrollbars : "yes",
          },
          {
            window : win,
            input : field_name
          }
    );
    return false;
  }