Replace some data-bind="click: function(){} with object functions to prevent eval()

This commit is contained in:
the-djmaze 2022-11-29 17:29:06 +01:00
parent 95808ba377
commit 0d6499702d
17 changed files with 53 additions and 16 deletions

View file

@ -33,6 +33,10 @@ export class AdminLoginView extends AbstractViewLogin {
});
}
hideError() {
this.submitError('');
}
submitCommand(self, event) {
let form = event.target.form,
data = new FormData(form),