Przeglądaj źródła

Fixed desktop rename csrft json error

user 4 lat temu
rodzic
commit
fca6b957f3
1 zmienionych plików z 1 dodań i 1 usunięć
  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