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: {
|
domainid: {
|
||||||
label: 'Domain',
|
label: 'Domain',
|
||||||
validation: { required: true },
|
validation: { required: true },
|
||||||
select: function(args) {
|
select: function(args) {
|
||||||
|
var array1 = [];
|
||||||
|
if(isAdmin())
|
||||||
|
array1.push("&listAll=true");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: createURL("listDomains"),
|
url: createURL("listDomains" + array1.join("")),
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
async: false,
|
async: false,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user