Index: openacs-4/packages/xowiki/www/xinha/insert-ilink.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/xinha/insert-ilink.adp,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/xowiki/www/xinha/insert-ilink.adp 28 Mar 2018 23:36:17 -0000 1.5 +++ openacs-4/packages/xowiki/www/xinha/insert-ilink.adp 31 Jul 2024 09:59:30 -0000 1.5.2.1 @@ -110,17 +110,17 @@ (w < 640) ? w = 640 : w = w; (h < 480) ? h = 480 : h = h; - var dimensons = "width="+w+",height="+h; + var dimensions = "width="+w+",height="+h; if (!document.all) { selector_window = window.open("@file_selector_link;noquote@", "file_selector" , "toolbar=no,menubar=no,personalbar=no,scrollbars=yes,resizable=yes," + - dimensons); + dimensions); } else { selector_window = window.open("@file_selector_link;noquote@", "file_selector", "channelmode=no,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,toolbar=no," + - dimensons); + dimensions); } selector_window.moveTo(w/2,h/2); selector_window.focus();