portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r482935 - /portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
Date Wed, 06 Dec 2006 07:14:45 GMT
Author: taylor
Date: Tue Dec  5 23:14:44 2006
New Revision: 482935

URL: http://svn.apache.org/viewvc?view=rev&rev=482935
Log:
auto expand the root node upon load

Modified:
    portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm

Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm?view=diff&rev=482935&r1=482934&r2=482935
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
(original)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
Tue Dec  5 23:14:44 2006
@@ -561,7 +561,6 @@
 #macro (TraverseFolders $f)
   <div isFolder='true' object='Folder' dojoType="TreeNode" widgetId="$f.Path" title="$f.Name"
childIconSrc="$app/images/folder.gif">
   #foreach($subf in $f.Folders.iterator())
-## DST: MIGHT NEED TO LAZY LOAD  FOR PERFORMANCE 
 ##    #TraverseFolders($subf) 
     <div isFolder='true' object='Folder' dojoType="TreeNode" widgetId="$subf.Path" title="$subf.Name"
childIconSrc="$app/images/folder.gif"></div>
   #end  
@@ -1099,6 +1098,8 @@
    dojo.event.connect(securityTable, "updateEditor", updateEditor );
    dojo.event.connect(securityTable, "saveEntrySubmit", saveSecurityEntrySubmit );
    dojo.event.connect(securityTable, "clearAndDisableEditor", clearAndDisableEditor );
+   var rootNode = dojo.widget.byId("/");
+   rootNode.expand();   
 }); 
 // General Table Functions
 function processTableRowEvent(e, tableName)



---------------------------------------------------------------------
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