[seam-commits] Seam SVN: r13904 - branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Nov 5 04:45:16 EDT 2010


Author: manaRH
Date: 2010-11-05 04:45:15 -0400 (Fri, 05 Nov 2010)
New Revision: 13904

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/test.js
Log:
JBPAPP-5379 - fixed propagating text field values into text area in MS IE

Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/test.js
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/test.js	2010-11-04 18:08:59 UTC (rev 13903)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/seambay/view/test.js	2010-11-05 08:45:15 UTC (rev 13904)
@@ -187,11 +187,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