diff --git a/src/sunstone/public/js/plugins/files-tab.js b/src/sunstone/public/js/plugins/files-tab.js index c75ea7ba1a..c110c55cf4 100644 --- a/src/sunstone/public/js/plugins/files-tab.js +++ b/src/sunstone/public/js/plugins/files-tab.js @@ -637,6 +637,7 @@ function setupCreateFileDialog(){ //since the body is the upload, we need the pass //the file info here uploader.setParams({ + csrftoken: csrftoken, img : JSON.stringify(file_obj), file: fileName });