Updated Branches: refs/heads/master 7794e9282 -> 8837113ab
CLOUDSTACK-3123: UI > Infrastructure menu > Secondary Storage > Secondary Storage detailView > delete action > fix a JS error "args.context.secondarystorages is undefined" when delete action is clicked. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8837113a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8837113a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8837113a Branch: refs/heads/master Commit: 8837113abccd6fc81fa72195044f058b46257b2b Parents: 7794e92 Author: Jessica Wang <[email protected]> Authored: Fri Jun 21 15:17:58 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Fri Jun 21 15:17:58 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8837113a/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 9258c4f..0a8ea7e 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -13318,7 +13318,7 @@ }, action: function(args) { $.ajax({ - url: createURL("deleteImageStore&id=" + args.context.secondarystorages[0].id), + url: createURL("deleteImageStore&id=" + args.context.secondaryStorage[0].id), dataType: "json", async: true, success: function(json) {
