Closed
Bug 280092
Opened 20 years ago
Closed 19 years ago
b.m.o: "Add to Sidebar" JS code needs alert and URL update.
Categories
(bugzilla.mozilla.org :: General, defect, P3)
bugzilla.mozilla.org
General
Tracking
()
RESOLVED
FIXED
People
(Reporter: benc, Assigned: justdave)
References
Details
I know that these problems are b.m.o specific, because where I work, we have
bugzilla, and the link points to mozilla.org
STEPS:
Click on the "Add to Sidebar" home page. If you are not using a version that
supports sidebar (Camino, Mozilla 1.8a4 seemed to do this too...), then you get
alert text that is out of date, and then you get re-directed to a netscape site.
<script type="text/javascript" language="JavaScript">
<!--
function addSidebar() {
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel
== "function"))
{
window.sidebar.addPanel ("Bugzilla",
"https://bugzilla.mozilla.org/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>
We need to remove the Netscape references. The other bugzilla instance I use says:
"Your browser does not support the sidebar extension. " + "Would you like to
upgrade now?"
Firefox seems to support Mozilla-style sidebars still, but Camino doesn't.
Perhaps we should add some version detection as well (non-Gecko should be
encouraged to "upgrade" to FF, Gecko w/o sidebar should be told this won't work...?)Assignee: mozilla.webmaster → justdave
Component: webmaster@mozilla.org → Bugzilla: Other b.m.o Issues
QA Contact: danielwang → myk
| Assignee | ||
Comment 1•20 years ago
|
||
see also bug 280093 for the general Bugzilla bug on this issue.
Blocks: bmo-upgrade-051022
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P3
Comment 2•20 years ago
|
||
seems like an unimportant and therefore pointless function on an already rather busy page, if all it does is add a bookmark, which everyone knows how to do. I'd just as soon see the link removed.
Wayne: it calls the sidebar code. In Firefox, that is mapped to the bookmarks.RDF database. In Mozilla/Netscape, it adds it to the panels.rdf.
| Assignee | ||
Comment 4•19 years ago
|
||
We picked up the upstream bugfix for this with last night's upgrade.
Updated•13 years ago
|
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•