Last modified by bougault on 2022/03/02 11:58

From version 38.1
edited by bougault
on 2022/03/02 11:58
Change comment: There is no comment for this version
To version 37.1
edited by bougault
on 2020/09/03 13:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -64,7 +64,7 @@
64 64  
65 65  The Collaboratory comes with a mechanism to let your app store its settings directly in the Collaboratory.
66 66  
67 -In order to do that, your app needs to use the [[postMessage javascript API>>https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage]] to send the settings to be stored in the Collaboratory. The settings are key/value pairs as in the example below. To update the settings, you need to write all the settings fields, as updating a single value only is not implemented.
67 +In order to do that, your app needs to use the [[postMessage javascript API>>https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage]] to send the settings to be stored in the Collaboratory. The settings are key/value pairs as in the example below.
68 68  
69 69  {{code language="javascript"}}
70 70  window.parent.postMessage({