Files
modoboa/static/js/settings.js
T
tonio bd32445e3e see #92
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
2010-11-26 17:35:23 +01:00

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"));
});