ldapsaisie/public_html/includes/js/LSformElement_select_object.js
Benjamin Renard 2a5ef1bb4e Code cleaning
2020-04-29 15:54:21 +02:00

18 lines
580 B
JavaScript

var LSformElement_select_object = new Class({
initialize: function(){
this.fields = [];
this.initialiseLSformElement_select_object();
},
initialiseLSformElement_select_object: function(el) {
if (!$type(el)) {
el = document;
}
el.getElements('ul.LSformElement_select_object').each(function(ul) {
this.fields[ul.id] = new LSformElement_select_object_field(ul);
}, this);
}
});
window.addEvent(window.ie ? 'load' : 'domready', function() {
varLSformElement_select_object = new LSformElement_select_object();
});