From: julmis Date: Sat, 8 Nov 2003 14:39:52 +0000 (+0000) Subject: Changes to charset and window return value is now "string". X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8dcd870756c60b4db548b88892b9f2aeac80d7b9;p=moodle.git Changes to charset and window return value is now "string". --- diff --git a/lib/editor/popups/dlg_ins_smile.php b/lib/editor/popups/dlg_ins_smile.php index eb678d4b56..7f21801470 100644 --- a/lib/editor/popups/dlg_ins_smile.php +++ b/lib/editor/popups/dlg_ins_smile.php @@ -35,7 +35,7 @@ ?> - +" /> @@ -52,16 +52,12 @@ function attr(name, value) { } function insert(img,text) { if (img) { - var src = img; - var alt = text; + var strImage = img; + var strAlt = text; + var imgString = "\"""; } // pass data back to the calling window - var fields = ["f_url","f_alt"]; - var param = new Object(); - param['f_url'] = src; - param['f_alt'] = alt; - - __dlg_close(param); + __dlg_close(imgString); return false; };