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 14:59:10 UTC

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

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 20ac420  TOBAGO-2017 - Tobago2: partially reload should not create overlay when transition=false
20ac420 is described below

commit 20ac4206b04d35419383a0eab459aabe9dd57282
Author: Volker Weber <v....@inexso.de>
AuthorDate: Mon Dec 2 12:33:33 2019 +0100

    TOBAGO-2017 - Tobago2: partially reload should not create overlay when transition=false
---
 .../myfaces/tobago/renderkit/html/standard/standard/script/tobago.js    | 2 +-
 1 file changed, 1 insertion(+), 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 79eb43f..a8a93db 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,7 @@ Tobago.Updater = {
       if (!Tobago.Transport.ajaxTransport.request(requestOptions)) {
         console.error('Page was already submitted, request not queued!'); // @DEV_ONLY
       } else {
-        if (requestOptions.createOverlay) {
+        if (requestOptions.createOverlay && (options.transition === undefined || options.transition === true)) {
           var ids = Tobago.parsePartialIds(ajaxComponentIds);
           for (i = 0; i < ids.length; i++) {
             var id = ids[i];