mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-19 20:09:28 +00:00
Monotone-Parent: 80684900fe7fb47108b9eefc3be3b81bb475dda6
Monotone-Revision: ce590111b616c22caae685602b30ef78046809e7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-19T17:59:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1211,6 +1211,16 @@ function onLinkBannerClick() {
|
||||
checkAjaxRequestsState();
|
||||
}
|
||||
|
||||
function onPreferencesClick(event) {
|
||||
var urlstr = UserFolderURL + "preferences";
|
||||
var w = window.open(urlstr, "User Preferences",
|
||||
"width=430,height=250,resizable=0,scrollbars=0");
|
||||
w.opener = window;
|
||||
w.focus();
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function configureLinkBanner() {
|
||||
var linkBanner = $("linkBanner");
|
||||
if (linkBanner) {
|
||||
@@ -1219,8 +1229,10 @@ function configureLinkBanner() {
|
||||
Event.observe(anchors[i], "mousedown", listRowMouseDownHandler);
|
||||
Event.observe(anchors[i], "click", onLinkBannerClick);
|
||||
}
|
||||
if (anchors.length > 3)
|
||||
Event.observe(anchors[3], "click", toggleLogConsole);
|
||||
Event.observe(anchors[3], "mousedown", listRowMouseDownHandler);
|
||||
Event.observe(anchors[3], "click", onPreferencesClick);
|
||||
if (anchors.length > 4)
|
||||
Event.observe(anchors[4], "click", toggleLogConsole);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user