[
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)