I would like to know if the current version of Profile view (with no
javascript support) is the version that will be promoted from sandbox to
production...

I'm asking because I was converting my app using this code and it's not
working anymore:

owner = opensocial.data.DataContext.getDataSet('owner');
viewer = opensocial.data.DataContext.getDataSet('viewer');

friends = opensocial.data.DataContext.getDataSet('friends');
var ct = '';
for(i=0; i<friends.totalResults; i++){
    ct += '<p><a href="javascript:void(0)" onclick="friendsfav('+ i +')">'+
friends.list[i].name.givenName+'
'+friends.list[i].name.familyName+'</a></p>';
    ct += '<div id="friendsfav_div_'+ i +'"></div>'
}
document.getElementById('friends_div').innerHTML = ct;

owner_data = opensocial.data.DataContext.getDataSet('owner_data');
favvideos = gadgets.json.parse(eval("owner_data['" + owner.id +
"'].videos"));
ct = '';
for(i=0; i<favvideos.length; i++) {
    ct += '<p><img src="'+favvideos[i].thumb+'" width="50"
style="float:left">ID: '+eval(i+1)+'<br>titulo:
'+favvideos[i].title+'<br>Comentarios:
'+favvideos[i].user_description+'</p>';
}
document.getElementById('content_div').innerHTML = ct;

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to