mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-24 02:49:07 +01:00
19 lines
647 B
JavaScript
19 lines
647 B
JavaScript
|
var LSformElement_jsonCompositeAttribute = new Class({
|
||
|
initialize: function(){
|
||
|
this.fields = [];
|
||
|
this.initialiseLSformElement_jsonCompositeAttribute();
|
||
|
},
|
||
|
|
||
|
initialiseLSformElement_jsonCompositeAttribute: function(el) {
|
||
|
if (!$type(el)) {
|
||
|
el = document;
|
||
|
}
|
||
|
el.getElements('ul.LSformElement_jsonCompositeAttribute').each(function(ul) {
|
||
|
this.fields[ul.id] = new LSformElement_jsonCompositeAttribute_field(ul);
|
||
|
}, this);
|
||
|
}
|
||
|
});
|
||
|
window.addEvent(window.ie ? 'load' : 'domready', function() {
|
||
|
varLSformElement_jsonCompositeAttribute = new LSformElement_jsonCompositeAttribute();
|
||
|
});
|