[richfaces-svn-commits] JBoss Rich Faces SVN: r11753 - trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Dec 12 14:09:00 EST 2008


Author: wesleyhales
Date: 2008-12-12 14:09:00 -0500 (Fri, 12 Dec 2008)
New Revision: 11753

Modified:
   trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js
Log:
https://jira.jboss.org/jira/browse/RF-5378

Modified: trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js
===================================================================
--- trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js	2008-12-12 19:08:04 UTC (rev 11752)
+++ trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js	2008-12-12 19:09:00 UTC (rev 11753)
@@ -178,7 +178,8 @@
 			var result = func(event);
 			if (typeof(result) == 'boolean' && !result) return false;
 		}
-		
+		try{
+
 		var tabPanel = RichFaces.tabPanel[pane];
 		
 		if (tabPanel.ontabchange && tabPanel.ontabchange != "") {
@@ -186,8 +187,12 @@
 				var result = func(event);
 				if (typeof(result) == 'boolean' && !result) return false;
 		}
-		
-	}
+
+      }catch(e){
+         //todo - waiting for portal friendly code rewrite
+      }
+
+   }
 	return true;
 }
 




More information about the richfaces-svn-commits mailing list