Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: UploadCollection not sending Headers (XSRF)

$
0
0

  /**

  * The event is triggered when files are selected. Applications can set parameters and headerParameters which will be dispatched to the embedded FileUploader control.

  * Parameters and headerParameters are not supported by Internet Explorer 9.

  */

  change : {

 

 

var fnChange = function(oEvent){

  oUploadCollection.addHeaderParameter(new sap.m.UploadCollectionParameter({ name : "x-csrf-token", value : "xyz"}));

};

 

var oUploadCollection = new sap.m.UploadCollection({

...

change : fnChange,

...

});


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>