mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Bugfix?: with the new version of Fx.Slide, the effect that hides search options in quarantine plugin doesn't hide them anymore!
Back to old version, it works...
This commit is contained in:
@@ -135,7 +135,8 @@ window.addEvent("domready", function() {
|
||||
}
|
||||
});
|
||||
|
||||
var myFx = new Fx.Slide($("searchparams")).hide();
|
||||
var myFx = new Fx.Slide($("searchparams"));
|
||||
myFx.hide();
|
||||
$("searchopts").addEvent("click", function(event) {
|
||||
myFx.cancel();
|
||||
myFx.toggle();
|
||||
|
||||
@@ -65,7 +65,8 @@ Fx.Slide = new Class({
|
||||
this.parent(options);
|
||||
var wrapper = this.element.retrieve('wrapper');
|
||||
this.wrapper = wrapper || new Element('div', {
|
||||
styles: this.element.getStyles('margin', 'position', 'overflow')
|
||||
styles: $extend(this.element.getStyles('margin', 'position'), {overflow: 'hidden'})
|
||||
/*styles: this.element.getStyles('margin', 'position', 'overflow', 'hidden')*/
|
||||
}).wraps(this.element);
|
||||
this.element.store('wrapper', this.wrapper).setStyle('margin', 0);
|
||||
this.now = [];
|
||||
|
||||
Reference in New Issue
Block a user