You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2010/05/27 03:15:36 UTC
[jira] Commented: (SHINDIG-1300) Issue taming
osapi.people.get().execute
[ https://issues.apache.org/jira/browse/SHINDIG-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872052#action_12872052 ]
Paul Lindner commented on SHINDIG-1300:
---------------------------------------
Can this go in now that we're on the new version of caja?
> Issue taming osapi.people.get().execute
> ---------------------------------------
>
> Key: SHINDIG-1300
> URL: https://issues.apache.org/jira/browse/SHINDIG-1300
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Reporter: Chirag Shah
>
> I'm getting the following error when I use osapi.people.get().execute with caja turned on:
> "callMethod: [object Object] has no method execute"
> Here's a sample gadget that exhibits this issue:
> <Module>
> <ModulePrefs title="test" description="test">
> <Require feature="osapi"></Require>
> <Require feature="caja"></Require>
> </ModulePrefs>
> <Content type="html" view="default">
> <![CDATA[
> <script type="text/javascript">
> function render(data) {
> console.log("cb");
> console.log(data.thumbnailUrl);
> }
> osapi.people.get().execute(render);
> </script>
> ]]>
> </Content>
> </Module>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.