mirror of
https://github.com/apache/cloudstack
synced 2026-09-02 17:40:22 +00:00
CS-15478: UI cosmetic fix for empty buttons/viewAll section.
This commit is contained in:
parent
dc19c86fde
commit
85a13dfe1a
@ -836,7 +836,7 @@
|
||||
actionFilter: actionFilter,
|
||||
data: data,
|
||||
context: $detailView.data('view-args').context
|
||||
}).prependTo($firstRow.closest('div.detail-group').closest('.details'));
|
||||
});
|
||||
|
||||
// 'View all' button
|
||||
var showViewAll = detailViewArgs.viewAll ?
|
||||
@ -846,6 +846,9 @@
|
||||
context: context
|
||||
}) : true
|
||||
) : true;
|
||||
if ($actions.find('div.action').size() || (detailViewArgs.viewAll && showViewAll)) {
|
||||
$actions.prependTo($firstRow.closest('div.detail-group').closest('.details'));
|
||||
}
|
||||
if (detailViewArgs.viewAll && showViewAll) {
|
||||
$('<div>')
|
||||
.addClass('view-all')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user