瀏覽代碼

[home2] Fix sharing

Johan Ahlen 9 年之前
父節點
當前提交
aa07421
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/fileBrowser/hueDocument.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/fileBrowser/hueDocument.js

@@ -139,7 +139,7 @@
     };
 
     $.post("/desktop/api2/doc/share", {
-      doc_id: self.fileEntry.definition().id,
+      uuid: JSON.stringify(self.fileEntry.definition().uuid),
       data: JSON.stringify(postPerms)
     }, function (response) {
       if (response != null) {