ldapsaisie/src/includes/js/LSformElement_password.js
Benjamin Renard 7098b3ee79 Massive change of files organisation to move all files outside web-root
The web-root directory now contains URL rewrite stuff. All PHP & static files are
in root src directory and are served via LSurl routes.
2020-05-06 12:17:35 +02:00

18 lines
576 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();
});