Author: [email protected]
Date: Tue Aug 16 16:37:55 2011
New Revision: 1329

Log:
[AMDATUOPENSOCIAL-87] Fixed setting the view to 'canvas' when a gadget is 
maximixed

Modified:
   
trunk/amdatu-opensocial/opensocial-dashboard/src/main/resources/jsp/dashboard.js.jsp
   
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js

Modified: 
trunk/amdatu-opensocial/opensocial-dashboard/src/main/resources/jsp/dashboard.js.jsp
==============================================================================
--- 
trunk/amdatu-opensocial/opensocial-dashboard/src/main/resources/jsp/dashboard.js.jsp
        (original)
+++ 
trunk/amdatu-opensocial/opensocial-dashboard/src/main/resources/jsp/dashboard.js.jsp
        Tue Aug 16 16:37:55 2011
@@ -166,6 +166,7 @@
 
     $('.widget').live('widgetOpenFullScreen',function(e,o) {
       o.widget.loaded = false;
+      shindig.container.view_ = "canvas";
       o.widget.refreshContent();
     });
 
@@ -173,6 +174,7 @@
       for(var item in dashboard.widgets) {
         var widget = dashboard.widgets[item];
         widget.loaded = false;
+        shindig.container.view_ = "home";
         widget.refreshContent();
       }
     });

Modified: 
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
==============================================================================
--- 
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
       (original)
+++ 
trunk/amdatu-opensocial/opensocial-shindig/src/main/resources/features/shindig.container/shindig-container.js
       Tue Aug 16 16:37:55 2011
@@ -638,7 +638,7 @@
     context: {
       country: 'default',
       language: 'default',
-      view: 'home',
+      view: shindig.container.view_,
       container: 'default'
     },
     gadgets: [{
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to