Repository: cloudstack Updated Branches: refs/heads/master 4217d157c -> d1f6d7542
UI > Infrastructure > Add Primary Storage > use custom function if it's available. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d1f6d754 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d1f6d754 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d1f6d754 Branch: refs/heads/master Commit: d1f6d75426fd07cb58fc0b39574adca28ebea296 Parents: 4217d15 Author: Jessica Wang <[email protected]> Authored: Fri Aug 8 14:09:07 2014 -0700 Committer: Jessica Wang <[email protected]> Committed: Fri Aug 8 14:09:17 2014 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d1f6d754/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 3b53df6..592ae1f 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -17015,6 +17015,11 @@ array1.push("&tags=" + todb(args.data.storageTags)); } + if ("custom" in args.response) { + args.response.custom(array1); + return; + } + $.ajax({ url: createURL("createStoragePool" + array1.join("")), dataType: "json",
