Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormValidator.Inline scrollFxOptions ignored #1

Open
bowsersenior opened this issue May 8, 2009 · 2 comments
Open

FormValidator.Inline scrollFxOptions ignored #1

bowsersenior opened this issue May 8, 2009 · 2 comments

Comments

@bowsersenior
Copy link

Inside FormValidator.Inline:

BAD:

validate: function(field, force){
...
if (!fx && window.Fx && Fx.Scroll){
    fx = new Fx.Scroll(par, {
        transition: 'quad:out',
        offset: {
            y: -20
        }
    });
    par.store('fvScroller', fx);
}
...

SHOULD BE:

validate: function(field, force){
...
if (!fx && window.Fx && Fx.Scroll){
  fx = new Fx.Scroll(par, this.options.scrollFxOptions);
  par.store('fvScroller', fx);
}
...
@bowsersenior
Copy link
Author

Sorry for double-posting this issue:
http://github.com/anutron/clientcide/issuesearch?state=open&q=inline#issue/27

I wasn't sure if the right place for mootools-more issue reports was on clientcide or here on mootools-more.

@assertchris
Copy link

This issue can be closed - the change is already in the Master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants