Fix detail being added twice to URLs on updateContainerHref

This was caused by an redudant call to updateContainerHref in mainDetailGrid

refs #4823
This commit is contained in:
Jannis Moßhammer 2013-10-10 15:19:49 +02:00 committed by Eric Lippmann
parent 9120cb3d99
commit 549c5d7390
1 changed files with 5 additions and 4 deletions

View File

@ -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);