You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2009/12/08 13:10:37 UTC
svn commit: r888357 -
/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/toolbox/toolbox.jsp
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