mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-09-06 23:01:05 +02:00
![Benjamin Renard](/assets/img/avatar_default.png)
-> Ajout de la méthode getParams() - LSformElement_password : -> Refonte en utilisant les templates -> Refonte Javascript en utilisant les JSparams via LSdefault et creation d'un LSformElement_password_field
17 lines
580 B
JavaScript
17 lines
580 B
JavaScript
var LSformElement_password = new Class({
|
|
initialize: function(){
|
|
this.fields=new Hash();
|
|
this.initialiseLSformElement_password();
|
|
},
|
|
|
|
initialiseLSformElement_password: function() {
|
|
var getName = /^(.*)\[\]$/
|
|
$$('input.LSformElement_password').each(function(input) {
|
|
var name = getName.exec(input.name)[1];
|
|
this.fields[name] = new LSformElement_password_field(name,input);
|
|
}, this);
|
|
}
|
|
});
|
|
window.addEvent(window.ie ? 'load' : 'domready', function() {
|
|
varLSformElement_password = new LSformElement_password();
|
|
});
|