Revision 17ce081a snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js | ||
---|---|---|
67 | 67 |
|
68 | 68 |
ui.entitiesActionsInit = function(){ |
69 | 69 |
|
70 |
if ($('.entities .items-list >li').length == 1) { |
|
71 |
$('.overlay-wrapper').addClass('no-vm'); |
|
72 |
} |
|
70 | 73 |
$('.entities li .more').each(function(){ |
71 | 74 |
var width = $(this).parent('li').outerWidth() + 20; |
72 | 75 |
$(this).css('width', width); |
Also available in: Unified diff