Closed hart404 closed 12 years ago
Hi There,
These do sound like a good idea - thanks for your contributions. To incorporate these changes, the steps you would need to take are:
It might be worth noting that your FileUploader message renders back to the browser as a 'text/json' type - unfortunately this doesn't work in IE6, which is why the original plugin renders text/plain instead - sorry about that!
I wanted the ability to change the button text. I added an optional buttonText attribute to the uploader tag and changed the fileuploader.js to support this attribute. For example:
I also modified the fileuploader.js to display a message from the host which is returned with the JSON response:
} catch (FileUploadException e) { log.error("Failed to upload file.", e) return render(text: [success:false, message: e.message] as JSON, contentType:'text/json') }
These changes seem useful. Can you tell me how I would go about getting these changes incorporated in the plugin, please?
Phil H