Index: openacs-4/packages/xowiki/www/xinha/insert-image.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/xinha/insert-image.adp,v diff -u -r1.7 -r1.7.2.1 --- openacs-4/packages/xowiki/www/xinha/insert-image.adp 4 Jul 2018 10:25:22 -0000 1.7 +++ openacs-4/packages/xowiki/www/xinha/insert-image.adp 31 Jul 2024 09:59:30 -0000 1.7.2.1 @@ -85,11 +85,11 @@ (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); + selector_window = window.open("@file_selector_link;noquote@", "file_selector" , "toolbar=no,menubar=no,personalbar=no,scrollbars=yes,resizable=yes," + 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); + selector_window = window.open("@file_selector_link;noquote@", "file_selector", "channelmode=no,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,toolbar=no," + dimensions); } // alert("HIER"); selector_window.moveTo(w/2,h/2);