You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2015/01/16 16:26:34 UTC
[jira] [Commented] (TOBAGO-1437) An AJAX call with 304 (not
modified) and createOverlay=false leads to an browser error
[ https://issues.apache.org/jira/browse/TOBAGO-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280385#comment-14280385 ]
Hudson commented on TOBAGO-1437:
--------------------------------
SUCCESS: Integrated in tobago-trunk #1310 (See [https://builds.apache.org/job/tobago-trunk/1310/])
TOBAGO-1437: An AJAX call with 304 (not modified) and createOverlay=false leads to an browser error (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1652420)
* /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
> An AJAX call with 304 (not modified) and createOverlay=false leads to an browser error
> --------------------------------------------------------------------------------------
>
> Key: TOBAGO-1437
> URL: https://issues.apache.org/jira/browse/TOBAGO-1437
> Project: MyFaces Tobago
> Issue Type: Bug
> Reporter: Udo Schnurpfeil
> Assignee: Udo Schnurpfeil
> Priority: Minor
> Fix For: 2.0.6
>
>
> The error occures in the tobago.js in the overlay.overlay("destroy") call. In the given case the overlay variable is not an overlay.
> {code}
> case Tobago.Updater.CODE_NOT_MODIFIED:
> if (typeof this.afterDoUpdateNotModified == 'function') {
> this.afterDoUpdateNotModified();
> }
> overlay.overlay("destroy");
> break;
> {code}
> Resolution: checking the existence of an overlay with
> {code}
> overlay.data("tobagoOverlay") != null
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)