|
@@ -4837,7 +4837,7 @@
|
|
$.ajax({
|
|
$.ajax({
|
|
url: "./system/file_system/fileOpr",
|
|
url: "./system/file_system/fileOpr",
|
|
method: "POST",
|
|
method: "POST",
|
|
- data: {opr: "rename", src: JSON.stringify([filepath]), new: JSON.stringify([newFilename]), token: csrftoken},
|
|
|
|
|
|
+ data: {opr: "rename", src: JSON.stringify([filepath]), new: JSON.stringify([newFilename]), csrft: csrftoken},
|
|
success: function(data){
|
|
success: function(data){
|
|
if (data.error !== undefined){
|
|
if (data.error !== undefined){
|
|
//Cancel the operation
|
|
//Cancel the operation
|