ECMS-5833: JS error when deleting a document having accent character in ...

...name in German

Fix description:
  - Replace ' character for the case restore file from Undo link