From ee338c3ceaa46aa09609b2d9f59b3ab948532437 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Wed, 9 Jul 2014 11:08:38 -0400 Subject: [PATCH] Bug #2984: Apply fix for file uploads --- src/sunstone/public/js/plugins/files-tab.js | 1 + 1 file changed, 1 insertion(+) 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 });