bug 12306: cloudstack 3.0 new UI - account page - create account - pass listAll=true when calling listDomains to populate domain dropdown.

This commit is contained in:
Jessica Wang 2012-01-09 16:11:55 -08:00
parent 43f2a44f37
commit 89628cae5c

View File

@ -83,8 +83,11 @@
label: 'Domain',
validation: { required: true },
select: function(args) {
var array1 = [];
if(isAdmin())
array1.push("&listAll=true");
$.ajax({
url: createURL("listDomains"),
url: createURL("listDomains" + array1.join("")),
dataType: "json",
async: false,
success: function(json) {