mirror of
https://github.com/OpenNebula/one.git
synced 2025-08-25 21:49:29 +03:00
Bug #2984: Add a csrftoken to the upload ajax call
This commit is contained in:
@ -938,6 +938,7 @@ function initialize_create_image_dialog(dialog) {
|
||||
},
|
||||
onSubmit: function(id, fileName){
|
||||
uploader.setParams({
|
||||
csrftoken: csrftoken,
|
||||
img : JSON.stringify(img_obj),
|
||||
file: fileName
|
||||
});
|
||||
|
Reference in New Issue
Block a user