Revision 614fb66b snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_main_view.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_main_view.js | ||
---|---|---|
601 | 601 |
check_status: function(loaded) { |
602 | 602 |
this.completed_items++; |
603 | 603 |
// images, flavors loaded |
604 |
if (this.completed_items == 2) { |
|
605 |
this.load_nets_and_vms(); |
|
606 |
} |
|
607 | 604 |
if (this.completed_items == this.items_to_load) { |
608 | 605 |
this.update_status("layout", 1); |
609 | 606 |
var self = this; |
... | ... | |
738 | 735 |
this.update_status("images", 0); |
739 | 736 |
storage.images.fetch({refresh:true, update:false, success: function(){ |
740 | 737 |
self.update_status("images", 1); |
741 |
self.check_status() |
|
738 |
self.check_status(); |
|
739 |
self.load_nets_and_vms(); |
|
742 | 740 |
}}); |
743 | 741 |
this.update_status("flavors", 0); |
744 | 742 |
storage.flavors.fetch({refresh:true, update:false, success:function(){ |
Also available in: Unified diff