ICEmobile
  1. ICEmobile
  2. MOBI-278

Spring demo: TabSet submit causing full page refresh in FF

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.1 Beta
    • Component/s: Spring
    • Labels:
      None
    • Environment:
      n/a

      Description

      in Desktop FF, tabs demo, select a tab, then click submit. The browser has a full page refresh. This is being caused by an error on the following line:

      if ((undefined !== window.FormData) &&
                              ("BlackBerry" !== window.clientInformation.platform) ) {


       window.clientInformation is null, which causes the browser to exit the function and continue with the default form submission.

        Activity

        Hide
        Philip Breau added a comment -

        Revision: 30193
        Author: philip.breau
        Date: July-24-12 12:36:41 PM
        Message:
        MOBI-278 - FF doing a full page submit


        Modified : /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/home.jsp

        Show
        Philip Breau added a comment - Revision: 30193 Author: philip.breau Date: July-24-12 12:36:41 PM Message: MOBI-278 - FF doing a full page submit Modified : /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/home.jsp
        Hide
        Ted Goddard added a comment -

        This has been revised as follows:

        + if ((undefined !== window.FormData) &&
        + (!window.clientInformation ||
        + ("BlackBerry" !== window.clientInformation.platform)) ) {
        formData = new FormData(this);

        The previous test was not failing on FF, but was also preventing FF from using FormData.

        Show
        Ted Goddard added a comment - This has been revised as follows: + if ((undefined !== window.FormData) && + (!window.clientInformation || + ("BlackBerry" !== window.clientInformation.platform)) ) { formData = new FormData(this); The previous test was not failing on FF, but was also preventing FF from using FormData.

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: