ldapsaisie/src/includes/js/LSformElement_maildir.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

17 lines
569 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();
});