jquery error in ie8

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • N/A
    • Affects Version/s: 2.7.8
    • Component/s: User interface

      As far as I can tell this doesn't have any user-visible consequences in the ui, its just reported as a javascript error.

      This seems to be fixed by jquery 1.7.1 — we're currently using jquery 1.5.2

      minified: jquery-min.js line 1 character 26151
      unminified: jquery.js line 2210 character 5

      jquery 1.5.2

      if ( !eventHandle ) {
      			elemData.handle = eventHandle = function( e ) {
      				// Handle the second event of a trigger and when
      				// an event is called after a page has unloaded
      				return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
      					jQuery.event.handle.apply( eventHandle.elem, arguments ) :
      					undefined;
      			};
      		}
      

      jquery 1.7.1:

      if ( !eventHandle ) {
      			elemData.handle = eventHandle = function( e ) {
      				// Discard the second event of a jQuery.event.trigger() and
      				// when an event is called after a page has unloaded
      				return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
      					jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
      					undefined;
      			};
      			// Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
      			eventHandle.elem = elem;
      		}
      

            Assignee:
            Unassigned
            Reporter:
            Anna Buttfield [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: