fix function names and remove flashMsg code duplication
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
/*
|
||||
* behavioural layer for the `change_password.html.tera` template,
|
||||
*/
|
||||
|
||||
behavioural layer for the `change_password.html.tera` template
|
||||
|
||||
- intercept button click for save (form submission of passwords)
|
||||
- perform json api call
|
||||
- update the dom
|
||||
|
||||
methods:
|
||||
|
||||
PEACH_AUTH.changePassword();
|
||||
|
||||
*/
|
||||
|
||||
var PEACH_AUTH = {};
|
||||
|
||||
@ -43,5 +53,5 @@ PEACH_AUTH.changePassword = function() {
|
||||
});
|
||||
}
|
||||
|
||||
var passInstance = PEACH_AUTH;
|
||||
passInstance.changePassword();
|
||||
var changePassInstance = PEACH_AUTH;
|
||||
changePassInstance.changePassword();
|
||||
|
Reference in New Issue
Block a user