Revision 45363ab3
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_main_view.js | ||
---|---|---|
950 | 950 |
$("#createcontainer #create").click(function(e){ |
951 | 951 |
e.preventDefault(); |
952 | 952 |
if ($(this).hasClass("disabled")) { return } |
953 |
self.router.vm_create_view(); |
|
953 |
synnefo.storage.images.fetch({ |
|
954 |
complete: function() { |
|
955 |
self.router.vm_create_view(); |
|
956 |
} |
|
957 |
}); |
|
954 | 958 |
}); |
955 | 959 |
}, |
956 | 960 |
|
Also available in: Unified diff