mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
modal.js: Request compact content with showCompact
This commit is contained in:
parent
a240e306ed
commit
74a9a8edf0
@ -42,8 +42,8 @@
|
|||||||
var $modal = _this.$ghost.clone();
|
var $modal = _this.$ghost.clone();
|
||||||
var $urlTarget = _this.icinga.loader.getLinkTargetFor($a);
|
var $urlTarget = _this.icinga.loader.getLinkTargetFor($a);
|
||||||
|
|
||||||
// Add view=compact, we don't want controls in a modal
|
// Add showCompact, we don't want controls in a modal
|
||||||
url = _this.icinga.utils.addUrlParams(url, { 'view': 'compact' });
|
url = _this.icinga.utils.addUrlFlag(url, 'showCompact');
|
||||||
|
|
||||||
// Set the toggle's base target on the modal to use it as redirect target
|
// Set the toggle's base target on the modal to use it as redirect target
|
||||||
$modal.data('redirectTarget', $urlTarget);
|
$modal.data('redirectTarget', $urlTarget);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user