Ticket #2142: ff_js_console_warnings.diff

File ff_js_console_warnings.diff, 952 bytes (added by mike.capp@…, 9 years ago)

[patch] Sorry, forgot to put this in the ticket title

  • contrib/admin/media/js/admin/DateTimeShortcuts.js

     
    217217       DateTimeShortcuts.dismissCalendar(num);
    218218    },
    219219    cancelEventPropagation: function(e) {
    220         if (!e) var e = window.event;
     220        if (!e) e = window.event;
    221221        e.cancelBubble = true;
    222222        if (e.stopPropagation) e.stopPropagation();
    223223    }
  • contrib/admin/media/js/core.js

     
    1919        return true;
    2020    } else if (obj.detachEvent) {
    2121        obj.detachEvent("on" + evType, fn);
     22        return true;
    2223    } else {
    2324        return false;
    2425    }
Back to Top