Move the reset of the import mapping into a dedicated JavaScript module
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Mar 2022 11:18:52 +0000 (12:18 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 4 Mar 2022 12:50:38 +0000 (13:50 +0100)
commit3f10cde6e70c0a6f8f35211853e3723382b1757f
tree1e94b234cb94efa7568271b14601d1e1a175af24
parented8625ae254185aaba0dcbe25c1423c94d009925
Move the reset of the import mapping into a dedicated JavaScript module

This removes a non-trivial amount of JavaScript and specifically:

- Fixes the use of the legacy `index.php/AJAXInvoke` syntax.
- Avoids the use of the deprecated SECURITY_TOKEN pseudo-constant.
ts/WoltLabSuite/Core/Acp/Ui/DataImport/MappingReset.ts [new file with mode: 0644]
wcfsetup/install/files/acp/templates/dataImport.tpl
wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/DataImport/MappingReset.js [new file with mode: 0644]
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml