Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2372

Ajax Form Submit on IE8 reloades the page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 5.4
    • None
    • tapestry-core

    Description

      Form submit on a form with zone parameter defined results in full page reload on IE 8.

      Reason:
      zone binds the submit event to the document with the call of:

      onDocument: function(events, match, handler) {
      return exports.on( document, events, match, handler);
      },
      in t5-core-dom. The the reason why it does not work in IE 8 is described here:
      http://yuilibrary.com/forum-archive/forum/viewtopic.php@p=30202.html
      and here:
      http://www.quirksmode.org/dom/events/submit.html

      The solution or or workaround is to call

      dom..on( selector, events, match, handler);
      where the selector defines the form, which triggers the submit instead of :
      on( document, events, match, handler);

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            PeterSkala Peter Skala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: