mirror of https://github.com/apache/cloudstack.git
Create account dialog - domain autoComplete - change it from case-sensitive to not case-sensitive.
This commit is contained in:
parent
a6ac728761
commit
88447a8aa2
|
|
@ -176,7 +176,7 @@ function bindAddAccountButton() {
|
|||
if(domainName != null && domainName.length > 0) {
|
||||
if(autoCompleteItems != null && autoCompleteItems.length > 0) {
|
||||
for(var i=0; i < autoCompleteItems.length; i++) {
|
||||
if(fromdb(autoCompleteItems[i].name) == domainName) {
|
||||
if(fromdb(autoCompleteItems[i].name).toLowerCase() == domainName.toLowerCase()) {
|
||||
domainId = autoCompleteItems[i].id;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ function vmGetSearchParams() {
|
|||
var domainId;
|
||||
if(autoCompleteItems != null && autoCompleteItems.length > 0) {
|
||||
for(var i=0; i < autoCompleteItems.length; i++) {
|
||||
if(fromdb(autoCompleteItems[i].name) == domainName) {
|
||||
if(fromdb(autoCompleteItems[i].name).toLowerCase() == domainName.toLowerCase()) {
|
||||
domainId = autoCompleteItems[i].id;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue