mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 07:48:52 +00:00
Monotone-Parent: c861ff04806417d509b5ef6af62ca318e9627b1f
Monotone-Revision: 57ab60b3a3a179042115ec92eeabf44470945a9c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-18T17:19:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -54,7 +54,7 @@ function openAddressbook(sender) {
|
||||
urlstr = ApplicationBaseURL + "/../Contacts/?popup=YES";
|
||||
var w = window.open(urlstr, "Addressbook",
|
||||
"width=640,height=400,resizable=1,scrollbars=1,toolbar=0,"
|
||||
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
+ "location=no,directories=0,status=0,menubar=0,copyhistory=0");
|
||||
w.focus();
|
||||
|
||||
return false;
|
||||
@@ -339,7 +339,7 @@ function _onMailboxMenuAction(menuEntry, error, actionName) {
|
||||
window.alert(labels[error]);
|
||||
else {
|
||||
var message;
|
||||
if (document.menuTarget instanceof HTMLDivElement)
|
||||
if (document.menuTarget.tagName == "DIV")
|
||||
message = currentMessages[currentMailbox];
|
||||
else
|
||||
message = document.menuTarget.getAttribute("id").substr(4);
|
||||
|
||||
@@ -990,7 +990,7 @@ function selectYearInMenu(menu, month) {
|
||||
var entries = menu.childNodes[1].childNodes;
|
||||
for (i = 0; i < entries.length; i++) {
|
||||
var entry = entries[i];
|
||||
if (entry instanceof HTMLLIElement) {
|
||||
if (entry.tagName == "LI") {
|
||||
var entryMonth = entry.innerHTML;
|
||||
if (entryMonth == month)
|
||||
entry.addClassName("currentMonth");
|
||||
|
||||
Reference in New Issue
Block a user