Bug 248958 File Bookmark dialog form too small, buttons are not visible

patch by ajschult@verizon.net r=neil sr=neil
This commit is contained in:
timeless%mozdev.org 2007-05-05 04:37:33 +00:00
Родитель ee68fac60f
Коммит e8ffd6abe1
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -141,7 +141,7 @@ function Startup()
folderItem = bookmarkView.rdf.GetResource(window.arguments[2]);
if (folderItem) {
ind = bookmarkView.treeBuilder.getIndexOfResource(folderItem);
bookmarkView.view.selection.select(ind);
bookmarkView.tree.view.selection.select(ind);
}
break;
case "newBookmark":
@ -169,14 +169,14 @@ function Startup()
folderItem = bookmarkView.rdf.GetResource(gCreateInFolder);
if (folderItem) {
ind = bookmarkView.treeBuilder.getIndexOfResource(folderItem);
bookmarkView.view.selection.select(ind);
bookmarkView.tree.view.selection.select(ind);
}
}
}
}
if ((arg != "newBookmark") && (bookmarkView.currentIndex == -1))
bookmarkView.view.selection.select(0);
bookmarkView.tree.view.selection.select(0);
if (shouldSetOKButton)
onFieldInput();