From 653d9d416790af2c3e55eca30b0318a8a0250be5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 9 Sep 2014 15:33:41 +0200 Subject: [PATCH] Fix: ckeditor area is at wrong place --- htdocs/user/note.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/user/note.php b/htdocs/user/note.php index ceaa9ceb011..448dd76d147 100644 --- a/htdocs/user/note.php +++ b/htdocs/user/note.php @@ -58,7 +58,7 @@ if ($action == 'update' && $user->rights->user->user->creer && ! $_POST["cancel" { $db->begin(); - $res=$fuser->update_note(dol_html_entity_decode(GETPOST('note'), ENT_QUOTES)); + $res=$fuser->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES)); if ($res < 0) { $mesg='
'.$adh->error.'
'; @@ -89,7 +89,7 @@ if ($id) if ($msg) print '
'.$msg.'
'; - print "
"; + print ""; print ''; print ''; @@ -120,7 +120,7 @@ if ($id) print "id."\">"; // Editeur wysiwyg require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor=new DolEditor('note',$fuser->note,'',280,'dolibarr_notes','In',true,false,$conf->global->FCKEDITOR_ENABLE_SOCIETE,10,80); + $doleditor=new DolEditor('note_private',$fuser->note,'',280,'dolibarr_notes','In',true,false,$conf->global->FCKEDITOR_ENABLE_SOCIETE,10,80); $doleditor->Create(); } else