[ 
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11399#comment-11399
 ] 

Ivo Ladage - van Doorn edited comment on AMDATUOPENSOCIAL-98 at 8/26/11 2:10 PM:
---------------------------------------------------------------------------------

The full screen button invokes this method:

  var views = gadgets.views.getSupportedViews();
  gadgets.views.requestNavigateTo(views['canvas'], params);

The implementation of requestNavigateTo results in a redirect to /canvas:

  var url = shindig.container.gadgetService.getUrlForView(view);

En that is because the implementation of getUrlForView looks like this:

shindig.IfrGadgetService.prototype.getUrlForView = function(view) {
if (view === 'canvas') {
return '/canvas';
} else if (view === 'profile') {
return '/profile';
} else {
return null;
}
};



      was (Author: ivol):
    The full screen button invoked this method:

var views = gadgets.views.getSupportedViews();
  gadgets.views.requestNavigateTo(views['canvas'], params);

The implementation of requestNavigateTo results in a redirect to /canvas:

var url = shindig.container.gadgetService.getUrlForView(view);


  
> Gadget's fullscreen button doesn't work
> ---------------------------------------
>
>                 Key: AMDATUOPENSOCIAL-98
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-98
>             Project: Amdatu OpenSocial
>          Issue Type: Bug
>          Components: Dashboard
>    Affects Versions: 0.2.0
>         Environment: FF 5
>            Reporter: Manuel Stampe
>            Assignee: Ivo Ladage - van Doorn
>             Fix For: 0.2.0
>
>
> The gadget
> http://www.labpixies.com/campaigns/todo/todo.xml
> has an own fullscreen button. This fullscreen button doesn't work in amdatu, 
> only the built-in maximize gadget button.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to