mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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:
parent
9120cb3d99
commit
549c5d7390
@ -166,10 +166,11 @@ function(Container, $, logger, URI) {
|
|||||||
|
|
||||||
});
|
});
|
||||||
$('.pagination li a', contentNode.parent()).on('click', function(ev) {
|
$('.pagination li a', contentNode.parent()).on('click', function(ev) {
|
||||||
|
|
||||||
var container = (new Container(this));
|
var container = (new Container(this));
|
||||||
container.replaceDomFromUrl(
|
logger.debug("Pagination clicked in " + container.containerType);
|
||||||
container.updateContainerHref($(this).attr('href'))
|
|
||||||
);
|
container.replaceDomFromUrl($(this).attr('href'));
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
return false;
|
return false;
|
||||||
@ -207,7 +208,7 @@ function(Container, $, logger, URI) {
|
|||||||
this.registerControls();
|
this.registerControls();
|
||||||
this.registerTableLinks();
|
this.registerTableLinks();
|
||||||
this.registerHistoryChanges();
|
this.registerHistoryChanges();
|
||||||
this.registerLoadIndicator();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.construct(gridDomNode);
|
this.construct(gridDomNode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user