You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2019/12/02 15:57:29 UTC

[myfaces-tobago] branch tobago-2.x updated: TOBAGO-2017 - Tobago2: partially reload should not create overlay when transition=false: fix javascript problem

This is an automated email from the ASF dual-hosted git repository.

weber pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-2.x by this push:
     new 0056ac9  TOBAGO-2017 - Tobago2: partially reload should not create overlay when transition=false: fix javascript problem
0056ac9 is described below

commit 0056ac9f7c45371d49642022be6b3276c296b53c
Author: Volker Weber <v....@inexso.de>
AuthorDate: Mon Dec 2 16:57:23 2019 +0100

    TOBAGO-2017 - Tobago2: partially reload should not create overlay when transition=false: fix javascript problem
---
 .../myfaces/tobago/renderkit/html/standard/standard/script/tobago.js   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 a8a93db..c6489b5 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
@@ -2080,7 +2080,8 @@ Tobago.Updater = {
       if (!Tobago.Transport.ajaxTransport.request(requestOptions)) {
         console.error('Page was already submitted, request not queued!'); // @DEV_ONLY
       } else {
-        if (requestOptions.createOverlay && (options.transition === undefined || options.transition === true)) {
+        if (requestOptions.createOverlay
+            && (requestOptions.transition === undefined || requestOptions.transition === true)) {
           var ids = Tobago.parsePartialIds(ajaxComponentIds);
           for (i = 0; i < ids.length; i++) {
             var id = ids[i];