зеркало из https://github.com/mozilla/pjs.git
Bug 106386 Correct misspellings in source code
r=dbaron rs=brendan
This commit is contained in:
Родитель
07ab541753
Коммит
1294a2e2f3
|
@ -227,7 +227,7 @@ nsXFormsSchemaValidator::IsValidSchemaListItems(const nsAString & aValue)
|
||||||
PRBool isValid = PR_FALSE;
|
PRBool isValid = PR_FALSE;
|
||||||
|
|
||||||
// listItem is like a string, but no whitespace. listItems is a whitespace
|
// listItem is like a string, but no whitespace. listItems is a whitespace
|
||||||
// delimeted list of listItem, so therefore just need to see if it is a valid
|
// delimited list of listItem, so therefore just need to see if it is a valid
|
||||||
// xsd:string
|
// xsd:string
|
||||||
mSchemaValidator->ValidateString(aValue, NS_LITERAL_STRING("string"),
|
mSchemaValidator->ValidateString(aValue, NS_LITERAL_STRING("string"),
|
||||||
NS_LITERAL_STRING("http://www.w3.org/1999/XMLSchema"),
|
NS_LITERAL_STRING("http://www.w3.org/1999/XMLSchema"),
|
||||||
|
|
|
@ -598,7 +598,7 @@
|
||||||
options[i].option ? options[i].option.selected : options[i].checkbox.checked;
|
options[i].option ? options[i].option.selected : options[i].checkbox.checked;
|
||||||
|
|
||||||
if (isSelected) {
|
if (isSelected) {
|
||||||
// space delimeted list
|
// space delimited list
|
||||||
if (selectedValues.length > 0) {
|
if (selectedValues.length > 0) {
|
||||||
selectedValues += " ";
|
selectedValues += " ";
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче