[seam-commits] Seam SVN: r14005 - branches/community/Seam_2_2/examples/seambay/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jan 19 10:11:23 EST 2011


Author: manaRH
Date: 2011-01-19 10:11:22 -0500 (Wed, 19 Jan 2011)
New Revision: 14005

Modified:
   branches/community/Seam_2_2/examples/seambay/view/test.js
Log:
JBSEAM-4766 - back porting MS IE8 javascript hack from JBPAPP-4013

Modified: branches/community/Seam_2_2/examples/seambay/view/test.js
===================================================================
--- branches/community/Seam_2_2/examples/seambay/view/test.js	2011-01-19 13:23:29 UTC (rev 14004)
+++ branches/community/Seam_2_2/examples/seambay/view/test.js	2011-01-19 15:11:22 UTC (rev 14005)
@@ -197,11 +197,12 @@
 function setParamValue(event)
 {
   var ctl = null
-  if (event.target)
+  if (!event)
+	var event = window.event;
+  if (event.srcElement)
+    ctl = window.event.srcElement;
+  else if (event.target)
     ctl = event.target;
-  else if (window.event.srcElement)
-    ctl = window.event.srcElement;
-    
   var key = ctl.id;
   
   for (var i = 0; i < selectedService.parameters.length; i++)



More information about the seam-commits mailing list