CLOUDSTACK-5310: fix issue: offering display twice in dropdown when create network
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6ab27267 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6ab27267 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6ab27267 Branch: refs/heads/master Commit: 6ab27267beb11b63d968ca32203352d6a44ce39f Parents: 5cc47f7 Author: Wei Zhou <[email protected]> Authored: Fri Nov 29 10:40:33 2013 +0100 Committer: Wei Zhou <[email protected]> Committed: Fri Nov 29 10:40:33 2013 +0100 ---------------------------------------------------------------------- ui/scripts/network.js | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6ab27267/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index d2b2c4d..6539452 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -540,11 +540,8 @@ domain: { label: 'label.domain', select: function(args) { - var items = []; $.ajax({ url: createURL("listDomains&listAll=true"), - dataType: "json", - async: false, success: function(json) { var items = []; items.push({
