blah
This commit is contained in:
parent
8adf304f1a
commit
dfb9a524b4
@ -256,7 +256,7 @@ app.auth = (function (app) {
|
|||||||
};
|
};
|
||||||
})(app);
|
})(app);
|
||||||
|
|
||||||
//ajax form submit
|
//ajax form submit and pass to api
|
||||||
function formAJAX(btn, del) {
|
function formAJAX(btn, del) {
|
||||||
event.preventDefault(); // avoid to execute the actual submit of the form.
|
event.preventDefault(); // avoid to execute the actual submit of the form.
|
||||||
var $form = $(btn).closest("[action]"); // gets the 'form' parent
|
var $form = $(btn).closest("[action]"); // gets the 'form' parent
|
||||||
|
@ -69,8 +69,8 @@ router.get('/profile', function(req, res, next) {
|
|||||||
//forgot password page
|
//forgot password page
|
||||||
router.get('/forgotPassword', function(req, res, next) {
|
router.get('/forgotPassword', function(req, res, next) {
|
||||||
res.render('forgotPassword');
|
res.render('forgotPassword');
|
||||||
});
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
//contact page
|
//contact page
|
||||||
router.get('/contact', function(req, res, next) {
|
router.get('/contact', function(req, res, next) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user