Index: openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.adp 1 Sep 2006 18:02:27 -0000 1.2 +++ openacs-4/packages/acs-templating/www/scripts/xinha/attach-image.adp 3 Sep 2006 16:59:11 -0000 1.3 @@ -29,7 +29,6 @@ var f_url = document.getElementById("f_url"); var url = f_url.value; if (url) { - window.ipreview.location.replace(url); onOK(); __dlg_close(null); } @@ -48,8 +47,7 @@ } } // pass data back to the calling window - var fields = ["f_url", "f_alt", "f_align", "f_border", - "f_horiz", "f_vert", "f_name"]; + var fields = ["f_url"]; var param = new Object(); for (var i in fields) { var id = fields[i]; @@ -158,7 +156,7 @@ @HTML_UploadTitle@ - +