portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r553984 - in /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget: PageEditPane.js PageEditPane.src.js
Date Fri, 06 Jul 2007 18:30:45 GMT
Author: smilek
Date: Fri Jul  6 11:30:44 2007
New Revision: 553984

URL: http://svn.apache.org/viewvc?view=rev&rev=553984
Log:
added destroy override to support ajaxPageNavigation mode

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

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.js?view=diff&rev=553984&r1=553983&r2=553984
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.js Fri Jul
 6 11:30:44 2007
@@ -33,6 +33,14 @@
 this.createPageDialog=dojo.widget.createWidget("dialog",_7,this.createPageDialog);
 this.createPageDialog.setCloseControl(this.createPageDialog.createPageCancel.domNode);
 jetspeed.widget.PageEditPane.superclass.fillInTemplate.call(this);
+},destroy:function(){
+if(this.deletePageDialog!=null){
+this.deletePageDialog.destroy();
+}
+if(this.createPageDialog!=null){
+this.createPageDialog.destroy();
+}
+jetspeed.widget.PageEditPane.superclass.destroy.apply(this,arguments);
 },postCreate:function(_b,_c,_d){
 jetspeed.widget.PageEditPane.superclass.postCreate.apply(this,arguments);
 if(!dojo.render.html.ie){

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.src.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.src.js?view=diff&rev=553984&r1=553983&r2=553984
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.src.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PageEditPane.src.js Fri
Jul  6 11:30:44 2007
@@ -92,6 +92,14 @@
             
             jetspeed.widget.PageEditPane.superclass.fillInTemplate.call( this );
 		},
+        destroy: function()
+        {
+            if ( this.deletePageDialog != null )
+                this.deletePageDialog.destroy();
+            if ( this.createPageDialog != null )
+                this.createPageDialog.destroy();
+            jetspeed.widget.PageEditPane.superclass.destroy.apply( this, arguments );
+        },
 
         postCreate: function( args, fragment, parent )
         {



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