From d1f6d75426fd07cb58fc0b39574adca28ebea296 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 8 Aug 2014 14:09:07 -0700 Subject: [PATCH] UI > Infrastructure > Add Primary Storage > use custom function if it's available. --- ui/scripts/system.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 3b53df61584..592ae1fc04a 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",