Changes for page DriveParentCollab
Last modified by bougault on 2022/01/07 11:03
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -17,6 +17,7 @@ 17 17 fetch(`/rest/v1/collabs?driveId=${driveId}`) 18 18 .then(res => res.json()) 19 19 .then(json => { 20 + console.log(json); 20 20 const { link } = json; 21 21 window.location.pathname = link; 22 22 }) ... ... @@ -29,5 +29,9 @@ 29 29 return id; 30 30 } 31 31 })(); 33 + 34 +window.addEventListener("message", function(event) { 35 + console.log('XXXX', event); 36 +}) 32 32 </script> 33 33 {{/html}}