Fix CSRF token addition on import project form
This commit is contained in:
parent
9cb53ae58f
commit
11c7788239
@ -35,7 +35,7 @@ Refine.ImportProjectUI = function(elmt) {
|
||||
elmt.html(DOM.loadHTML("core", "scripts/index/import-project-ui.html"));
|
||||
|
||||
Refine.wrapCSRF(function(token) {
|
||||
elmt.attr('action', "command/core/import-project?" + $.param({ csrf_token: token}));
|
||||
$('#project-upload-form').attr('action', "command/core/import-project?" + $.param({ csrf_token: token}));
|
||||
});
|
||||
|
||||
this._elmt = elmt;
|
||||
|
Loading…
Reference in New Issue
Block a user