Revision 513eafb4
b/ui/static/snf/js/models.js | ||
---|---|---|
899 | 899 |
}, |
900 | 900 |
|
901 | 901 |
// get flavor object |
902 |
// TODO: update flavors synchronously if image not found |
|
903 | 902 |
get_flavor: function() { |
904 | 903 |
var flv = storage.flavors.get(this.get('flavorRef')); |
905 | 904 |
if (!flv) { |
b/ui/static/snf/js/ui/web/ui_single_view.js | ||
---|---|---|
77 | 77 |
}, |
78 | 78 |
|
79 | 79 |
show_vm: function(vm) { |
80 |
console.log("SHOW", vm.id);
|
|
80 |
if (!vm) { return };
|
|
81 | 81 |
this.current_vm_instance = vm; |
82 | 82 |
this.show_vm_menu(); |
83 | 83 |
this.show_current(); |
Also available in: Unified diff