зеркало из https://github.com/mozilla/gecko-dev.git
Bug 178178 Sidebar name should not be hardcoded to "Bugzilla"
r=bbaetz a=justdave
This commit is contained in:
Родитель
85c9ca04af
Коммит
911c9a2bc6
|
@ -32,17 +32,20 @@
|
|||
<script type="text/javascript" language="JavaScript">
|
||||
<!--
|
||||
function addSidebar() {
|
||||
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
||||
{
|
||||
window.sidebar.addPanel ("Bugzilla", "[% Param('urlbase') %]sidebar.cgi", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
var rv = window.confirm ("This page is enhanced for use with Netscape 6. " + "Would you like to upgrade now?");
|
||||
if (rv)
|
||||
document.location.href = "http://home.netscape.com/download/index.html";
|
||||
}
|
||||
}
|
||||
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
||||
{
|
||||
var sidebarname=window.location.host;
|
||||
if (!/bug/i.test(sidebarname))
|
||||
sidebarname="Bugzilla "+sidebarname;
|
||||
window.sidebar.addPanel (sidebarname, "[% Param('urlbase') %]sidebar.cgi", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
var rv = window.confirm ("This page is enhanced for use with Netscape 6. " + "Would you like to upgrade now?");
|
||||
if (rv)
|
||||
document.location.href = "http://home.netscape.com/download/index.html";
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче