From 019ec564088fa586b7c6ab8db3709725b5e27338 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 30 Mar 2011 11:40:14 +0000 Subject: [PATCH] get new ajax canned responses working with multiline responses --- phpgwapi/inc/class.html.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 8951b02065..4ef8e11b84 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -583,7 +583,7 @@ class html { if (!self::htmlarea_availible() || $_mode == 'ascii') { - return self::textarea($_name,$_content,'style="width: '.$_width.'; height: '.$_height.';"'); + return self::textarea($_name,$_content,'style="width: '.$_width.'; height: '.$_height.';" id="'.htmlspecialchars($_name).'"'); } //include the ckeditor js file @@ -601,8 +601,7 @@ class html $pxheight = (strpos('px', $_height) === false) ? (empty($_height) ? 400 : $_height) : str_replace('px', '', $_height); - return ' - + return self::textarea($_name,$_content,'id="'.htmlspecialchars($_name).'"').'