mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 12649: cloudstack 3.0 new UI - domain fields on all dialog boxes - show full domain path instead of domain name.
This commit is contained in:
parent
fbf1c958db
commit
8c5068a3be
@ -91,7 +91,7 @@
|
||||
var items = [];
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function() {
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
args.response.success({data: items});
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
var items = [];
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function(){
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
args.response.success({data: items});
|
||||
}
|
||||
@ -429,7 +429,7 @@
|
||||
var items = [];
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function(){
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
args.response.success({data: items});
|
||||
}
|
||||
@ -738,7 +738,7 @@
|
||||
var items = [];
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function(){
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
args.response.success({data: items});
|
||||
}
|
||||
|
||||
@ -957,7 +957,7 @@
|
||||
success: function(json) {
|
||||
var domainObjs = json.listdomainchildrenresponse.domain;
|
||||
$(domainObjs).each(function() {
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -968,7 +968,7 @@
|
||||
success: function(json) {
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function() {
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -981,7 +981,7 @@
|
||||
success: function(json) {
|
||||
var domainObjs = json.listdomainsresponse.domain;
|
||||
$(domainObjs).each(function() {
|
||||
items.push({id: this.id, description: this.name});
|
||||
items.push({id: this.id, description: this.path});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@ -208,7 +208,7 @@
|
||||
isHidden: true,
|
||||
select: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listDomains"),
|
||||
url: createURL("listDomains&listAll=true"),
|
||||
data: { viewAll: true },
|
||||
dataType: "json",
|
||||
async: false,
|
||||
@ -218,7 +218,7 @@
|
||||
data: $.map(domainObjs, function(domain) {
|
||||
return {
|
||||
id: domain.id,
|
||||
description: domain.name
|
||||
description: domain.path
|
||||
};
|
||||
})
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user