mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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:
parent
43f2a44f37
commit
89628cae5c
@ -82,9 +82,12 @@
|
||||
domainid: {
|
||||
label: 'Domain',
|
||||
validation: { required: true },
|
||||
select: function(args) {
|
||||
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user