Hi,
In my application (currently using CKE 3.1), I have an overridden version of the image insertion dialog, which uses a file input element to choose images to upload and embed in a post. For security reasons, I need to modify some URL parameters in the file input box each time an image is uploaded. The problem is that there does not appear to be a programmatic way to change the action on the uploader form on successive uses of the dialog - it seems that the file input form can be configured only when the dialog is first created. Is there a way to update the file input form action, or to rebuild the file element each time the dialog is shown, or even to dispose of the dialog each time it is hidden so that a new one can be built each time?
Thanks,
Kevin Morris
In my application (currently using CKE 3.1), I have an overridden version of the image insertion dialog, which uses a file input element to choose images to upload and embed in a post. For security reasons, I need to modify some URL parameters in the file input box each time an image is uploaded. The problem is that there does not appear to be a programmatic way to change the action on the uploader form on successive uses of the dialog - it seems that the file input form can be configured only when the dialog is first created. Is there a way to update the file input form action, or to rebuild the file element each time the dialog is shown, or even to dispose of the dialog each time it is hidden so that a new one can be built each time?
Thanks,
Kevin Morris