I have created two contents in my xml. One for profile view and the
second for canvas
For the profile view I did set this
<div id="profileview" onclick="navigateToCanvas();">
and the navigateToCanvas is as below.
function navigateToCanvas()
{
alert('You have clicked');
return function() { gadgets.views.requestNavigateTo(new
gadgets.views.View('canvas')); };
}
When I click on the gadget in profile view. I see the alert 'You have
clicked' but its not navigating to the canvas view. Any thoughts on
this ?