Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
None
Description
There are several things that need to be cleaned up.
1. Recent changes to how RPC handlers are handled broke the RPC handler functions. Changes in the context in which the functions are run changed the value of this.
2. Timing issues in sample gadget caused javascript errors when closing dialogs.
3. When closing a dialog without pressing cancel or ok caused osapi errors because there was no media item to update.
4. Use of console.log instead of using gadgets.log in sample gadget
5. Always pass the relative element whenever the gadgets.views.open* APIs are called.
6. Pass the gadget metadata to createElementForEmbeddedExperience when the EE data model has a gadget in it.