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

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

No files matched your search

@@ -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,
@@ -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) {