Revision 3450cf0d ui/static/snf/js/ui/web/ui_networks_view.js
b/ui/static/snf/js/ui/web/ui_networks_view.js | ||
---|---|---|
61 | 61 |
}, |
62 | 62 |
|
63 | 63 |
update_layout: function() { |
64 |
if(this.vms.length == 0) { |
|
64 |
if (this.vms.length == 0) {
|
|
65 | 65 |
this.empty_message.show(); |
66 | 66 |
} else { |
67 | 67 |
this.empty_message.hide(); |
68 | 68 |
} |
69 |
|
|
69 | 70 |
_.each(this.vms, _.bind(function(vm){ |
70 | 71 |
var html = '<li class="vm option options-object vm-{0}">' + |
71 | 72 |
'<div class="options-object-cont">' + |
Also available in: Unified diff