1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #4871: Fix menu width when there are no edit_labels

This commit is contained in:
Carlos Martín 2016-10-13 18:15:17 +02:00
parent 1a9abf7005
commit f1def7a710

View File

@ -430,9 +430,10 @@ define(function(require) {
if ($("#" + customId + "labels_buttons button", buttonsRow).length != 0) {
$('#' + customId + 'labels_buttons').append(
'<div id="' + customId + 'LabelsDropdown" class="only-sunstone-info only-sunstone-list labels-dropdown dropdown-pane large menu vertical" data-dropdown data-close-on-click="true"></div>').foundation();
'<div id="' + customId + 'LabelsDropdown" class="only-sunstone-info only-sunstone-list labels-dropdown dropdown-pane large menu vertical" data-dropdown data-close-on-click="true"></div>');
}
$('#' + customId + 'labels_buttons').foundation();
//actionBlock.foundationButtons();
$('.top_button, .list_button', actionBlock).prop('disabled', false);
$('.top_button, .list_button', actionBlock).prop('disabled', true);