portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r888357 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp
Date Tue, 08 Dec 2009 12:10:37 GMT
Author: woonsan
Date: Tue Dec  8 12:10:36 2009
New Revision: 888357

URL: http://svn.apache.org/viewvc?rev=888357&view=rev
Log:
JS2-1087: Changing to keep up with the json marshaling changes in Jetspeed

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp?rev=888357&r1=888356&r2=888357&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp
Tue Dec  8 12:10:36 2009
@@ -222,10 +222,8 @@
         portletsPanel = clonedPortletsPanel;
         
         var templatePanel = Y.Node.one("#<portlet:namespace/>portletItemTemplate");
-        var defs = [];
-        if (dataOut.collection) {
-            defs = dataOut.collection;
-        }
+        var defs = dataOut.definitions;
+        
         for (var i = 0; i < defs.length; i++) {
             var def = defs[i];
             var clone = templatePanel.cloneNode(true);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message