Ticket #4765: 4765.patch

File 4765.patch, 1.8 KB (added by Wiktor Walc, 9 years ago)
  • editor/filemanager/connectors/cfm/cf_commands.cfm

     
    2323 * in the ColdFusion Connector (MX 6.0 and above).
    2424--->
    2525
    26 <cffunction name="FileUpload" returntype="void" output="true">
     26<cffunction name="FCKeditorFileUpload" returntype="void" output="true">
    2727        <cfargument name="resourceType" type="string" required="yes" default="">
    2828        <cfargument name="currentFolder" type="string" required="yes" default="">
    2929        <cfargument name="sCommand" type="string" required="yes" default="">
  • editor/filemanager/connectors/cfm/cf_connector.cfm

     
    6868
    6969        <!--- File Upload doesn't have to Return XML, so it must be intercepted before anything. --->
    7070        <cfif sCommand eq "FileUpload">
    71                 <cfset FileUpload( sResourceType, sCurrentFolder, sCommand )>
     71                <cfset FCKeditorFileUpload( sResourceType, sCurrentFolder, sCommand )>
    7272                <cfabort>
    7373        </cfif>
    7474
  • editor/filemanager/connectors/cfm/cf_upload.cfm

     
    6868        <cfset SendUploadResults( "1", "", "", "Invalid type specified" ) >
    6969</cfif>
    7070
    71 <cfset FileUpload( sType, sCurrentFolder, sCommand )>
     71<cfset FCKeditorFileUpload( sType, sCurrentFolder, sCommand )>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy