myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r743708 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Date Thu, 12 Feb 2009 12:47:16 GMT
Author: bommel
Date: Thu Feb 12 12:47:16 2009
New Revision: 743708

URL: http://svn.apache.org/viewvc?rev=743708&view=rev
Log:
(TOBAGO-626) Input length restriction for tc:textarea

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=743708&r1=743707&r2=743708&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
(original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Thu Feb 12 12:47:16 2009
@@ -1792,15 +1792,6 @@
 
   // If we've made it to here, we know that elementLength == length
 
-  if (Tobago.getBrowser().type == "msie") {
-    // in many forms there is a hidden field named "event"
-    // Sometimes IE gets confused and sends us that instead of
-    // the true event, so...
-    if (event["type"] == "hidden") {
-      event = window.event;
-    }
-  }
-
   // If this is a change event, the field has already been updated to a string
   // of the maximum allowable length. This is fine. Continue processing.
   if (event.type == 'change') {



Mime
View raw message