mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
#52872 - removed extra tabs on form manager, r=hangas, a=ben
This commit is contained in:
parent
1015cce555
commit
9a48263674
@ -84,12 +84,15 @@ function Startup()
|
||||
} else if (tab == "W") {
|
||||
element = document.getElementById("signonviewer");
|
||||
element.setAttribute("title", element.getAttribute("alttitle"));
|
||||
|
||||
// hide non-used tabs
|
||||
element = document.getElementById("nopreview");
|
||||
element.setAttribute("selected","true" );
|
||||
element = document.getElementById("nopreview");
|
||||
element.setAttribute("style","display: block;" );
|
||||
element = document.getElementById("nocapture");
|
||||
element.setAttribute("style","display: block;" );
|
||||
element.selected = true;
|
||||
element = document.getElementById("signonTab");
|
||||
element.setAttribute("style", "display: none");
|
||||
element = document.getElementById("signonSitesTab");
|
||||
element.setAttribute("style", "display: none");
|
||||
|
||||
element = document.getElementById("panel");
|
||||
element.setAttribute("index","2" );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user