Fix event handler declaration accessing global icinga object

This commit is contained in:
Thomas Gelf 2014-03-26 09:25:57 +00:00
parent c846c7c3f8
commit 070573b9c0

View File

@ -81,7 +81,7 @@
$( window ).on('beforeunload', { self: this }, this.onUnload); $( window ).on('beforeunload', { self: this }, this.onUnload);
// We catch scroll events in our containers // We catch scroll events in our containers
$('.container').on('scroll', icinga.events.onContainerScroll); $('.container').on('scroll', this.icinga.events.onContainerScroll);
// We want to catch each link click // We want to catch each link click
$(document).on('click', 'a', { self: this }, this.linkClicked); $(document).on('click', 'a', { self: this }, this.linkClicked);