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:
Jessica Wang 2012-02-03 15:37:55 -08:00
parent fbf1c958db
commit 8c5068a3be
4 changed files with 9 additions and 9 deletions

View File

@ -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});
}

View File

@ -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});
}

View File

@ -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});
});
}
});

View File

@ -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
};
})
});