You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2015/01/16 15:52:34 UTC
[jira] [Resolved] (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:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-1437.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.6
> 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)