зеркало из 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">
|
<script type="text/javascript" language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
function addSidebar() {
|
function addSidebar() {
|
||||||
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
||||||
{
|
{
|
||||||
window.sidebar.addPanel ("Bugzilla", "[% Param('urlbase') %]sidebar.cgi", "");
|
var sidebarname=window.location.host;
|
||||||
}
|
if (!/bug/i.test(sidebarname))
|
||||||
else
|
sidebarname="Bugzilla "+sidebarname;
|
||||||
{
|
window.sidebar.addPanel (sidebarname, "[% Param('urlbase') %]sidebar.cgi", "");
|
||||||
var rv = window.confirm ("This page is enhanced for use with Netscape 6. " + "Would you like to upgrade now?");
|
}
|
||||||
if (rv)
|
else
|
||||||
document.location.href = "http://home.netscape.com/download/index.html";
|
{
|
||||||
}
|
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>
|
</script>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче