зеркало из https://github.com/mozilla/pjs.git
Hide webpanels checkbox for folders/separators.
This commit is contained in:
Родитель
b7ab30e625
Коммит
85e98ae5a9
|
@ -199,6 +199,10 @@ function Init()
|
|||
var isSeparator = BookmarksUtils.resolveType(resource) == "BookmarkSeparator";
|
||||
|
||||
if (isContainerFlag || isSeparator) {
|
||||
// Hide the "Load in sidebar" checkbox unless it's a bookmark.
|
||||
var webpanelCheckbox = document.getElementById("webpanel");
|
||||
webpanelCheckbox.hidden = true;
|
||||
|
||||
// If it is a folder, it has no URL or Keyword
|
||||
document.getElementById("locationrow").setAttribute("hidden", "true");
|
||||
document.getElementById("shortcutrow").setAttribute("hidden", "true");
|
||||
|
|
Загрузка…
Ссылка в новой задаче