Revision 059a01b9 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 | ||
---|---|---|
951 | 951 |
$("#createcontainer #create").click(function(e){ |
952 | 952 |
e.preventDefault(); |
953 | 953 |
if ($(this).hasClass("disabled")) { return } |
954 |
self.router.vm_create_view(); |
|
954 |
synnefo.storage.images.fetch({ |
|
955 |
complete: function() { |
|
956 |
self.router.vm_create_view(); |
|
957 |
} |
|
958 |
}); |
|
955 | 959 |
}); |
956 | 960 |
}, |
957 | 961 |
|
Also available in: Unified diff