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