From 96ee08a3d212d8d51e185e8acfa6a4b2ea01a6b5 Mon Sep 17 00:00:00 2001 From: jygaulier Date: Wed, 31 Oct 2012 10:42:51 +0100 Subject: [PATCH] fix #976 edit : character change when editing with thesaurus fix also display caption junk when a thesaurus term has no entry in the current language --- www/prod/jquery.edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/prod/jquery.edit.js b/www/prod/jquery.edit.js index 96866d0fac..ee3da94e3f 100644 --- a/www/prod/jquery.edit.js +++ b/www/prod/jquery.edit.js @@ -417,7 +417,7 @@ function updateCurrentMval(meta_struct_id, HighlightValue, vocabularyId) + '
' + extra + '' - + word + + $('
').text(word).html() + "
" + ' ' + '' @@ -1288,7 +1288,7 @@ function edit_dblclickThesaurus(event) // ondblclick dans le thesaurus case "TH_W": if(p4.edit.curField >= 0) { - var w = e.innerHTML; + var w = $(e).text(); if(p4.edit.T_fields[p4.edit.curField].multi) { $("#EditTextMultiValued", p4.edit.editBox).val(w);