0002-Bug-526-Changed-create-into-Image.register.patch
src/sunstone/public/js/one-ui_views.js | ||
---|---|---|
2107 | 2107 | |
2108 | 2108 |
$('#create_image_form_manual').submit(function(){ |
2109 | 2109 |
template=$('#template',this).val(); |
2110 |
OpenNebula.Image.create({data: template,success: addImageElement,error: onError});
|
|
2110 |
OpenNebula.Image.register({data: template,success: addImageElement,error: onError});
|
|
2111 | 2111 |
$create_image_dialog.dialog('close'); |
2112 | 2112 |
return false; |
2113 | 2113 |
}); |
2114 |
- |