mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 17:03:47 +01:00
05fe7f0042
-> 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();
|
|
});
|