Ticket #59 (assigned defect)

Opened 6 months ago

Last modified 5 months ago

opensocial.newActivity expecting 2 parameters (when it's supposed to get only one)

Reported by: alcidesfonseca.com Owned by: lindner.livejournal.com
Priority: critical Milestone:
Component: Other Version:
Keywords: newActivity Cc:

Description

I have the following code:

var params = {};

params[opensocial.Activity.Field.TITLE] = "twit: "+tw.text;
var activity = opensocial.newActivity(params);

opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority?.HIGH, function() { });

And I am given an error when calling opensocial.newActivity():

A is undefined
[Break on this error] opensocial.newActivity=function(B,A){Atitle?=B;

But I've checked OpenSocial documentation, and several examples, and they all do like I currently do in my code.

Change History

Changed 5 months ago by me.yahoo.com/siruguri#82788

  • owner set to linder.livejournal.com
  • status changed from new to assigned

Changed 5 months ago by me.yahoo.com/siruguri#82788

  • owner changed from linder.livejournal.com to lindner.livejournal.com
Note: See TracTickets for help on using tickets.
Close