mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-12 20:05:08 +00:00
Monotone-Parent: 1cd01a11a7384ec7da33be5a6316e39e3024c38a
Monotone-Revision: 16bd3aa0fa9b1f29444120c9720217440143eb7d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-04T15:57:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -956,6 +956,20 @@ function getUsersRightsWindowWidth() {
|
||||
return usersRightsWindowWidth;
|
||||
}
|
||||
|
||||
function getTopWindow() {
|
||||
var topWindow = null;
|
||||
var currentWindow = window;
|
||||
while (!topWindow) {
|
||||
if (currentWindow.document.body.hasClassName("popup")
|
||||
&& currentWindow.opener)
|
||||
currentWindow = currentWindow.opener;
|
||||
else
|
||||
topWindow = currentWindow;
|
||||
}
|
||||
|
||||
return topWindow;
|
||||
}
|
||||
|
||||
function onTabClick(event) {
|
||||
var node = event.target;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user