Index: openacs-4/packages/xowiki/www/xinha/file-selector.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/xinha/file-selector.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/xowiki/www/xinha/file-selector.adp 14 Dec 2005 16:13:01 -0000 1.1 +++ openacs-4/packages/xowiki/www/xinha/file-selector.adp 6 Jun 2006 22:11:28 -0000 1.2 @@ -60,6 +60,14 @@ } return false; } + +// in order window.focus() does not work here for IE. It is not the best +// solution, but for the time being, we simply skip it. +function myFocus() { + if (!window.ActiveXObject) { // no IE + window.focus(); + } +} -
+ +