1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #4913 Added message when importing images and vnets (#259)

This commit is contained in:
Abel Coronado 2017-04-20 12:07:09 +02:00 committed by Tino Vázquez
parent 2ffa7a4c01
commit cb0351d64c
2 changed files with 7 additions and 0 deletions

View File

@ -200,6 +200,10 @@ define(function(require) {
}
if($(this).data("import_data").import_disks_and_nics){
VCenterCommon.importLoading({
context : row_context,
message : Locale.tr("Importing images and vnets associated to template disks and nics...")
});
var path = '/vcenter/template/' + $(this).data("import_data").vcenter_ref;
$.ajax({
url: path,

View File

@ -101,6 +101,9 @@ define(function(require) {
$(".vcenter_import_result_row", opts.context).show();
if(opts.message){
$(".vcenter_import_response", opts.context).html(opts.message);
}
}
function _importSuccess(opts) {