CS-14338: cloudstack 3.0 UI - Restore VM action - after action completed, show "Task completed: Restore Instance" instead of "Task completed: Restoring VM: null".

This commit is contained in:
Jessica Wang 2012-04-30 16:42:08 -07:00
parent 1181c8b46f
commit 192b58476d
1 changed files with 10 additions and 10 deletions

View File

@ -714,16 +714,16 @@
poll: pollAsyncJobResult
}
},
restore: {
label: 'Restore instance',
messages: {
confirm: function(args) {
return 'Are you sure you want to restore ' + args.name + '?';
},
notification: function(args) {
return 'Restoring VM: ' + args.name;
}
},
restore: {
label: 'label.action.restore.instance',
messages: {
confirm: function(args) {
return 'message.action.restore.instance';
},
notification: function(args) {
return 'label.action.restore.instance';
}
},
action: function(args) {
$.ajax({
url: createURL("recoverVirtualMachine&id=" + args.context.instances[0].id),