зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ee68fac60f
Коммит
e8ffd6abe1
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче