1
0
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:
Jaime Melis
2014-06-16 11:28:43 +02:00
parent 701247a626
commit 0952428027

View File

@ -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
});