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 2011/02/02 23:06:42 UTC
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
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;