mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy. Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
15 lines
420 B
JavaScript
15 lines
420 B
JavaScript
window.addEvent('domready', function() {
|
|
var tip = new Tips($$(".Tips"));
|
|
|
|
var accordion = new Accordion('h3.atStart', 'div.atStart', {
|
|
opacity: true,
|
|
onActive: function(toggler, element){
|
|
toggler.setStyle('color', '#ff3300');
|
|
},
|
|
|
|
onBackground: function(toggler, element){
|
|
toggler.setStyle('color', '#222');
|
|
}
|
|
}, $('accordion'));
|
|
saveparams("params_form", gettext("Parameters saved"));
|
|
}); |