Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1437

An AJAX call with 304 (not modified) and createOverlay=false leads to an browser error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.6
    • None
    • None

    Description

      The error occures in the tobago.js in the overlay.overlay("destroy") call. In the given case the overlay variable is not an overlay.

            case Tobago.Updater.CODE_NOT_MODIFIED:
              if (typeof this.afterDoUpdateNotModified == 'function') {
                this.afterDoUpdateNotModified();
              }
              overlay.overlay("destroy");
              break;
      

      Resolution: checking the existence of an overlay with

      overlay.data("tobagoOverlay") != null
      

      Attachments

        Activity

          People

            lofwyr Udo Schnurpfeil
            lofwyr Udo Schnurpfeil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: