ldapsaisie/public_html/includes/js/LSformElement_password.js

18 lines
576 B
JavaScript
Raw Normal View History

var LSformElement_password = new Class({
initialize: function(){
this.fields=new Hash();
this.initialiseLSformElement_password();
},
2020-04-29 15:54:21 +02:00
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();
});