diff --git a/ui/scripts/vm_snapshots.js b/ui/scripts/vm_snapshots.js index 190bf7521f3..c50c7e108b1 100644 --- a/ui/scripts/vm_snapshots.js +++ b/ui/scripts/vm_snapshots.js @@ -174,7 +174,7 @@ dataType: "json", async: true, success: function(json) { - var jid = json.reverttosnapshotresponse.jobid; + var jid = json.reverttovmsnapshotresponse.jobid; args.response.success({ _custom: { jobId: jid @@ -193,4 +193,4 @@ //detailview end } } -})(jQuery, cloudStack); \ No newline at end of file +})(jQuery, cloudStack);