mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
parent
549c5d7390
commit
8aea2f4d3c
@ -169,8 +169,13 @@ function(Container, $, logger, URI) {
|
|||||||
|
|
||||||
var container = (new Container(this));
|
var container = (new Container(this));
|
||||||
logger.debug("Pagination clicked in " + container.containerType);
|
logger.debug("Pagination clicked in " + container.containerType);
|
||||||
|
// Detail will be removed when main pagination changes
|
||||||
|
if (container.containerType === 'icingamain') {
|
||||||
|
Icinga.replaceBodyFromUrl(URI($(this).attr('href')).removeQuery('detail'));
|
||||||
|
} else {
|
||||||
|
container.replaceDomFromUrl($(this).attr('href'));
|
||||||
|
}
|
||||||
|
|
||||||
container.replaceDomFromUrl($(this).attr('href'));
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user