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:
tonio
2009-10-20 17:36:20 +02:00
parent 9a663c1f8b
commit e673c2e89e
2 changed files with 4 additions and 2 deletions
@@ -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();
+2 -1
View File
@@ -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 = [];