You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/01/18 16:51:29 UTC
[myfaces-tobago] branch tobago-2.0.x updated: TOBAGO-1844: JS error
with "reload" facet
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-2.0.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-2.0.x by this push:
new b9773e5 TOBAGO-1844: JS error with "reload" facet
b9773e5 is described below
commit b9773e502b94f8b43b459595d10f5c8b590d9dcb
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Jan 18 17:51:27 2018 +0100
TOBAGO-1844: JS error with "reload" facet
---
.../myfaces/tobago/renderkit/html/standard/standard/script/tobago.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js b/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
index 23ab7eb..3c323e0 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
@@ -2103,6 +2103,9 @@ Tobago.Updater = {
$container = jQuery(Tobago.Utils.escapeClientId(id));
console.info("OVERLAY for 'id' " + $container.attr("id")); // @DEV_ONLY
}
+ $container = $container.filter(function (index) {
+ return this instanceof HTMLElement;
+ });
$container.overlay({error: false, ajax: true});
}
}
--
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].