Revision 7dff818c 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 | ||
---|---|---|
651 | 651 |
}}); |
652 | 652 |
|
653 | 653 |
this.update_status("networks", 0); |
654 |
storage.networks.fetch({refresh:true, update:false, success: function(){ |
|
655 |
self.update_status("networks", 1); |
|
656 |
self.check_status(); |
|
657 |
}}); |
|
658 |
|
|
654 |
$.when([ |
|
655 |
storage.networks.fetch({refresh: true}), |
|
656 |
storage.floating_ips.fetch({refresh: true}), |
|
657 |
storage.subnets.fetch({refresh: true}), |
|
658 |
storage.ports.fetch({refresh: true}) |
|
659 |
]).done(function() { |
|
660 |
self.update_status("networks", 1); |
|
661 |
self.check_status(); |
|
662 |
}) |
|
659 | 663 |
}, |
660 | 664 |
|
661 | 665 |
_fetchers: {}, |
Also available in: Unified diff