CLOUDSTACK-5310: fix issue: offering display twice in dropdown when create network (cherry picked from commit 6ab27267beb11b63d968ca32203352d6a44ce39f)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/814ae73d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/814ae73d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/814ae73d Branch: refs/heads/4.3 Commit: 814ae73dc4abf346246daddbf9cb212287940bc1 Parents: 5598ba0 Author: Wei Zhou <[email protected]> Authored: Fri Nov 29 10:40:33 2013 +0100 Committer: Wei Zhou <[email protected]> Committed: Fri Nov 29 10:55:46 2013 +0100 ---------------------------------------------------------------------- ui/scripts/network.js | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/814ae73d/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({
