Johan Ahlen пре 10 година
родитељ
комит
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", {
     $.post("/desktop/api2/doc/share", {
-      doc_id: self.fileEntry.definition().id,
+      uuid: JSON.stringify(self.fileEntry.definition().uuid),
       data: JSON.stringify(postPerms)
       data: JSON.stringify(postPerms)
     }, function (response) {
     }, function (response) {
       if (response != null) {
       if (response != null) {