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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30193 Tue Jul 24 09:36:41 MDT 2012 philip.breau MOBI-278 - FF doing a full page submit
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/home.jsp
        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Philip.breau [ philip.breau ]
        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
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0 Beta [ 10290 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30196 Tue Jul 24 10:47:36 MDT 2012 ted.goddard allow FireFox to use FormData but not BlackBerry (MOBI-278)
        Files Changed
        Commit graph MODIFY /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.
        Philip Breau made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Philip Breau made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 1.1 Beta [ 10320 ]
        Fix Version/s 1.0 Beta [ 10290 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: