diff --git a/module/block/css/dashboard.ui.css b/module/block/css/dashboard.ui.css index e0e76ad6877..c2b07623e21 100644 --- a/module/block/css/dashboard.ui.css +++ b/module/block/css/dashboard.ui.css @@ -25,6 +25,8 @@ body {padding-bottom: 20px;} #dashboard .list-block .panel-body {padding: 0; overflow: hidden;} #dashboard .dtable.shadow {box-shadow: unset;} +#dashboard .dashboard-block-header {padding-left: 16px;} +#dashboard .has-content .dashboard-block-title {width: 0; overflow: hidden; opacity: 0; height: 1em;} #upgradeModal .modal-body {padding: 0;} #upgradeModal .modal-dialog, #upgradeModal .modal-content {max-height: 100vh;} diff --git a/module/block/js/dashboard.ui.js b/module/block/js/dashboard.ui.js index 528dae703d8..56531ae7a83 100644 --- a/module/block/js/dashboard.ui.js +++ b/module/block/js/dashboard.ui.js @@ -31,7 +31,7 @@ function resetBlocks(dashboard, data, block) { if(!result) return; const url = zui.formatString(data.url, block); - $.ajaxSubmit({url: url, method: 'GET', onSuccess: () => loadComponent('#dashboard')}); + $.ajaxSubmit({url: url, load: false, method: 'GET', onSuccess: () => loadComponent('#dashboard')}); }); } diff --git a/module/block/ui/dashboard.html.php b/module/block/ui/dashboard.html.php index 2e5519d0a3e..e0672ab5863 100644 --- a/module/block/ui/dashboard.html.php +++ b/module/block/ui/dashboard.html.php @@ -15,7 +15,6 @@ { $block->color = isset($block->params->color) ? $block->params->color : null; $block->fetch = $block->blockLink; - unset($block->title); } $blocks = json_decode(json_encode($blocks), true); @@ -36,6 +35,7 @@ set::onlyLoadVisible(false), set::blocks(array_values($blocks)), set::blockMenu(array('items' => $blockMenuItems)), + set::emptyBlockContent(array('html' => '