mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Un-encode html special chars (<, >, &) when filling in the title for the selected value
This commit is contained in:
parent
df933068b3
commit
eae198cf6c
@ -334,7 +334,12 @@ function select_result(e) {
|
||||
value.value = target.value.key;
|
||||
}
|
||||
if(search) {
|
||||
search.value = target.value.value;
|
||||
var string = target.value.value;
|
||||
string = string.replace(/&/g, '&');
|
||||
string = string.replace(/</g, '<');
|
||||
string = string.replace(/>/g, '>');
|
||||
|
||||
search.value = string;
|
||||
var event;
|
||||
if(document.createEvent) {
|
||||
// Most
|
||||
|
Loading…
Reference in New Issue
Block a user