add(settings): password changing
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import {client, lang, navigateTo} from "../../index.js";
|
||||
import { clear, fill_errors } from "../../utils/formUtils.js";
|
||||
import { clearIds, fill_errors } from "../../utils/formUtils.js";
|
||||
import AbstractAuthenticatedView from "../abstracts/AbstractAuthenticatedView.js";
|
||||
|
||||
export default class extends AbstractAuthenticatedView
|
||||
@ -26,7 +26,7 @@ export default class extends AbstractAuthenticatedView
|
||||
return;
|
||||
}
|
||||
|
||||
clear("innerHTML", ["name", "nb_players", "nb_players_by_game"]);
|
||||
clearIds("innerHTML", ["name", "nb_players", "nb_players_by_game"]);
|
||||
fill_errors(response_data, "innerHTML");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user