fix bug when adding first schema to empty wallet

This commit is contained in:
morse%netscape.com 1999-08-28 14:33:45 +00:00
Родитель a23ca3a0ff
Коммит 7f42646932
1 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -257,7 +257,7 @@
var i;
text = top.frames[schema_frame].document.schema.newSchema;
schemaIndex = 0;
while (!(strings[values[schemas[schemaIndex]]] >= text.value)) {
while ((schemaIndex<schemasLength) &&!(strings[values[schemas[schemaIndex]]] >= text.value)) {
schemaIndex++;
}
@ -346,13 +346,17 @@
}
function addValue() {
addValue0();
loadMain();
if (schemasLength != 0) {
addValue0();
loadMain();
}
}
function addSynonym() {
addSynonym0();
loadMain();
if (schemasLength != 0) {
addSynonym0();
loadMain();
}
}
function deleteSchema() {