diff --git a/public/js/icinga/components/mainDetailGrid.js b/public/js/icinga/components/mainDetailGrid.js index 2ada235bb..6547419d7 100644 --- a/public/js/icinga/components/mainDetailGrid.js +++ b/public/js/icinga/components/mainDetailGrid.js @@ -166,10 +166,11 @@ function(Container, $, logger, URI) { }); $('.pagination li a', contentNode.parent()).on('click', function(ev) { + var container = (new Container(this)); - container.replaceDomFromUrl( - container.updateContainerHref($(this).attr('href')) - ); + logger.debug("Pagination clicked in " + container.containerType); + + container.replaceDomFromUrl($(this).attr('href')); ev.preventDefault(); ev.stopPropagation(); return false; @@ -207,7 +208,7 @@ function(Container, $, logger, URI) { this.registerControls(); this.registerTableLinks(); this.registerHistoryChanges(); - this.registerLoadIndicator(); + }; this.construct(gridDomNode);