RF-13719 rich.fileUpload breaks form action in portal

 - Modify fileupload.js to retain the original form action, such that if a partial action is used to upload the file, the original non partial action can be set on the form on completion of the upload