ICEmobile
  1. ICEmobile
  2. MOBI-385

JSP Carousel listener not removed and causing errors when dom changed

    Details

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

      Description


      It appears that the Carousel listener is not being removed. When the page is updated via ajax, and the dom including the carousel is no longer present, the iscroll listener will continue to run and generate errors:

      Uncaught TypeError: Cannot read property 'style' of null
      iScroll
      (anonymous function) icemobile.js:210

        Activity

        Migration created issue -
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] User Philip.breau [ philip.breau ]
        Migration made changes -
        Fix Version/s 1.2 Beta [ 10344 ]
        Migration made changes -
        Assignee Steve Maryka [ steve.maryka ] User Philip.breau [ philip.breau ]
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee User Philip.breau [ philip.breau ] Judy Guglielmin [ judy.guglielmin ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: