projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/platal-0.10.2'
[platal.git]
/
htdocs
/
javascript
/
motdepasse.js
diff --git
a/htdocs/javascript/motdepasse.js
b/htdocs/javascript/motdepasse.js
index
353a8ad
..
17864f2
100644
(file)
--- a/
htdocs/javascript/motdepasse.js
+++ b/
htdocs/javascript/motdepasse.js
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2003-20
09
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-39,4
+39,11
@@
function EnCryptedResponse() {
document.forms.changepass2.submit();
return true;
}
document.forms.changepass2.submit();
return true;
}
+
+function EncryptedResponseInNestedForm() {
+ $('[name=nouveau]').val($('[name=password]').val());
+ $('[name=nouveau2]').val($('[name=password2]').val());
+ EnCryptedResponse();
+}
+
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: