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


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.

Reply via email to