Browse Source

[home2] Fix sharing

Johan Ahlen 9 years ago
parent
commit
aa07421

+ 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) {