mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-15 06:53:04 +01:00
18 lines
573 B
JavaScript
18 lines
573 B
JavaScript
|
var LSformElement_maildir = new Class({
|
||
|
initialize: function(){
|
||
|
this.fields=new Hash();
|
||
|
this.initialiseLSformElement_maildir();
|
||
|
},
|
||
|
|
||
|
initialiseLSformElement_maildir: function() {
|
||
|
var getName = /^(.*)\[\]$/
|
||
|
$$('input.LSformElement_maildir').each(function(input) {
|
||
|
var name = getName.exec(input.name)[1];
|
||
|
this.fields[name] = new LSformElement_maildir_field(name,input);
|
||
|
}, this);
|
||
|
}
|
||
|
});
|
||
|
window.addEvent(window.ie ? 'load' : 'domready', function() {
|
||
|
varLSformElement_maildir = new LSformElement_maildir();
|
||
|
});
|