myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1066658 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Date Wed, 02 Feb 2011 22:06:42 GMT
Author: bommel
Date: Wed Feb  2 22:06:42 2011
New Revision: 1066658

URL: http://svn.apache.org/viewvc?rev=1066658&view=rev
Log:
(TOBAGO-965) Setting focus in popup does not work anymore with IE*

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-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/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1066658&r1=1066657&r2=1066658&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Wed Feb  2 22:06:42 2011
@@ -313,7 +313,7 @@ var Tobago = {
   },
 
   onSubmit: function() {
-    if (Tobago.applicationOnsubmit) {
+    if (jQuery.isFunction(Tobago.applicationOnsubmit)) {
       var result = Tobago.applicationOnsubmit();
       if (!result) {
         this.isSubmit = false;
@@ -938,7 +938,7 @@ var Tobago = {
             element.disabled = true;
             hidden.value += element.id + ',';
           } else {
-            if (firstPopupElement == null && Tobago.isFunction(element.focus)) {
+            if (firstPopupElement == null && jQuery.isFunction(element.focus)) {
               firstPopupElement = element;
             }
           }
@@ -954,7 +954,7 @@ var Tobago = {
             element.disabled = true;
             hidden.value += element.id + ',';
           } else {
-            if (firstPopupElement == null && element.focus) {
+            if (firstPopupElement == null && jQuery.isFunction(element.focus)) {
               firstPopupElement = element;
             }
           }
@@ -2268,7 +2268,7 @@ Tobago.Updater = {
     if (Tobago.Transport.hasTransport()) {
 //    LOG.info("hasTransport");
 
-      if (Tobago.applicationOnsubmit) {
+      if (jQuery.isFunction(Tobago.applicationOnsubmit)) {
         var result = Tobago.applicationOnsubmit();
         if (!result) {
           return;



Mime
View raw message