[
https://issues.apache.org/jira/browse/SHINDIG-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Winer updated SHINDIG-659:
-------------------------------
Attachment: shindig-659.patch
Attached patch.
> requestCreateActivity() errors out if not passed a callback
> -----------------------------------------------------------
>
> Key: SHINDIG-659
> URL: https://issues.apache.org/jira/browse/SHINDIG-659
> Project: Shindig
> Issue Type: Bug
> Components: Features (Javascript)
> Reporter: Adam Winer
> Attachments: shindig-659.patch
>
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> Run the following test:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
> <ModulePrefs>
> <Require feature="opensocial-0.8" />
> </ModulePrefs>
> <Content type="html">
> <![CDATA[
> <script type="text/javascript">
> function executeTest() {
> var activity = opensocial.newActivity({title: "Hi there"});
> opensocial.requestCreateActivity(activity);
> }
> gadgets.util.registerOnLoadHandler(executeTest);
> </script>
> ]]>
> </Content>
> </Module>
> It fails with "A is not a function".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.