Project

General

Profile

0001-personnes-do-not-empty-email-field-on-user-update-fo.patch

Serghei Mihai, 03 October 2014 04:48 PM

Download (778 Bytes)

View differences:

Subject: [PATCH] personnes: do not empty email field on user update form

 calebasse/static/js/access.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
calebasse/static/js/access.js
(function($){
$(function() {
$.each(['email', 'password1', 'password2'], function(i, element) {
$.each(['password1', 'password2'], function(i, element) {
$('form input[name=' + element + ']').val('');
})
})