Changes between Version 2 and Version 3 of Ticket #13518
- Timestamp:
- Jul 9, 2015, 12:35:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13518 – Description
v2 v3 1 1 It should be easy to add some additional parameters to the request. Parameters defined in the upload widget definition should be passed to the `fileLoader`, to the `fileUploadRequest` and finally to the request build by the default `fileUploadRequest` handler. So for example: 2 2 {{{ 3 3 fileTools.addUploadWidget( editor, 'sepiauploadimage', { 4 4 additionalRequestParameters: { sepia: true }, … … 6 6 // ... 7 7 } ); 8 8 }}} 9 9 Will add `evt.data.additionalRequestParameters.sepia = true` to the `fileUploadRequest` and send it to the server (`formData.append( 'sepia', 'true');`).