mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
d882ea11b4
commit
be05d3a73a
@ -760,12 +760,8 @@
|
||||
// $container.html(content);
|
||||
|
||||
} else {
|
||||
if ($container.closest('.dashboard').length
|
||||
) {
|
||||
if (! $('h1', $content).length) {
|
||||
var title = $('h1', $container).first().detach();
|
||||
$('h1', $content).first().detach();
|
||||
}
|
||||
if ($container.closest('.dashboard').length) {
|
||||
var title = $('h1', $container).first().detach();
|
||||
$container.html(title).append(content);
|
||||
} else if (action === 'replace') {
|
||||
$container.html(content);
|
||||
|
Loading…
x
Reference in New Issue
Block a user