mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-29 02:07:36 +00:00
Part of Mantis 3319
Monotone-Parent: f937b6e53d17591dc176dff07b8c090e39c4f6ca Monotone-Revision: fb103a10a9193093e53b3259aed36bc0c4b4dccb Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-14T13:52:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1696,12 +1696,17 @@ AIM = {
|
||||
|
||||
function label (title) {
|
||||
var rc = title;
|
||||
if (!logWindow) {
|
||||
logWindow = window;
|
||||
while (logWindow.opener)
|
||||
logWindow = logWindow.opener;
|
||||
}
|
||||
|
||||
if (labels[title]) {
|
||||
rc = labels[title];
|
||||
}
|
||||
else if (clabels[title]) {
|
||||
rc = clabels[title];
|
||||
else if (logWindow.clabels[title]) {
|
||||
rc = logWindow.clabels[title];
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user