You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2009/02/12 13:47:16 UTC

svn commit: r743708 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

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') {