diff --git a/out/out.DocumentChooser.php b/out/out.DocumentChooser.php index ea70874d8..922c1c128 100644 --- a/out/out.DocumentChooser.php +++ b/out/out.DocumentChooser.php @@ -87,7 +87,7 @@ function printTree($path, $level = 0) for ($i = 0; $i < count($documents); $i++) { print "
  • \n"; print ""; - print "getID().",'".str_replace("'", "\\'", $documents[$i]->getName())."');\">".htmlspecialchars($documents[$i]->getName()).""; + print "getID().",'".str_replace("'", "\\'", htmlspecialchars($documents[$i]->getName()))."');\">".htmlspecialchars($documents[$i]->getName()).""; print "
  • "; } @@ -126,7 +126,7 @@ var targetName; var targetID; function documentSelected(id, name) { - targetName.value = decodeString(name); + targetName.value = name; //decodeString(name); targetID.value = id; window.close(); return true;