Revision 1f6e513b
Von Moritz Bunkus vor fast 9 Jahren hinzugefügt
templates/webpages/admin/edit_user.html | ||
---|---|---|
173 | 173 |
function submit_delete() { |
174 | 174 |
[% SET used_for_task_server_in_clients = SELF.is_user_used_for_task_server(SELF.user) %] |
175 | 175 |
[% IF used_for_task_server_in_clients %] |
176 |
alert('[% LxERP.t8('The user cannot be deleted as it is used in the following clients: #1', used_for_task_server_in_clients) | js %]');
|
|
176 |
alert('[% JavaScript.escape(LxERP.t8('The user cannot be deleted as it is used in the following clients: #1', used_for_task_server_in_clients)) %]');
|
|
177 | 177 |
return false; |
178 | 178 |
[% ELSE %] |
179 | 179 |
submit_with_action('delete_user'); |
Auch abrufbar als: Unified diff
Admin User-Bearbeiten-Maske: JavaScript.escape() nicht als Filter aufrufen
Siehe Commit-Nachricht 70654da für die Begründung.