From 8dcd870756c60b4db548b88892b9f2aeac80d7b9 Mon Sep 17 00:00:00 2001 From: julmis Date: Sat, 8 Nov 2003 14:39:52 +0000 Subject: [PATCH] Changes to charset and window return value is now "string". --- lib/editor/popups/dlg_ins_smile.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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; }; -- 2.39.5