Explorar o código

Fixed desktop rename csrft json error

user %!s(int64=4) %!d(string=hai) anos
pai
achega
fca6b957f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/desktop.system

+ 1 - 1
web/desktop.system

@@ -4837,7 +4837,7 @@
                                 $.ajax({
                                     url: "./system/file_system/fileOpr",
                                     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){
                                         if (data.error !== undefined){
                                             //Cancel the operation