portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r482921 - /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
Date Wed, 06 Dec 2006 06:18:14 GMT
Author: smilek
Date: Tue Dec  5 22:18:10 2006
New Revision: 482921

URL: http://svn.apache.org/viewvc?view=rev&rev=482921
Log:
fixed add/remove in portal site manager

Modified:
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js?view=diff&rev=482921&r1=482920&r2=482921
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
(original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
Tue Dec  5 22:18:10 2006
@@ -30,8 +30,13 @@
 {
     doRemoveNode: function(node, callObj, callFunc)
     {
+        var args = [ node, callObj, callFunc ];
+        dojo.widget.TreeLoadingController.prototype.doRemoveNode.apply(this, args);
     },
     doCreateChild: function(parent, index, output, callObj, callFunc)
     {
+        if ( output == null ) output = {};
+        var args = [parent, index, output, callObj, callFunc];
+		dojo.widget.TreeLoadingController.prototype.doCreateChild.apply(this, args);
     }
 });



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