myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1236925 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Date Fri, 27 Jan 2012 23:38:37 GMT
Author: bommel
Date: Fri Jan 27 23:38:36 2012
New Revision: 1236925

URL: http://svn.apache.org/viewvc?rev=1236925&view=rev
Log:
TOBAGO-1079
Problem using paging in sheet under IE

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=1236925&r1=1236924&r2=1236925&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Fri Jan 27 23:38:36 2012
@@ -249,10 +249,10 @@ Tobago.Sheet.prototype.doKeyEvent = func
       }
       if (keyCode == 13) {
         if (input.value != input.nextSibling.innerHTML) {
+          Tobago.stopEventPropagation(event);
+          event.returnValue = false;
           this.reloadWithAction(event.srcElement, input.actionId);
-          Tobago.stopEventPropagation(event);          
-        }
-        else {
+        } else {
           this.textInput = input;
           this.hideInput();
         }



Mime
View raw message