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

validateDestroy doesn't work #62

Open
xielingwang opened this issue Sep 10, 2015 · 1 comment
Open

validateDestroy doesn't work #62

xielingwang opened this issue Sep 10, 2015 · 1 comment

Comments

@xielingwang
Copy link

I met a bug that caused validateDestroy not work, and I try to fixed it.
Line 307: namespace = options.namespace change to namespace = options.nameSpace

after I do so validateDestroy is still out of working, but cause I just want to revalidate so not it is ok for me.

@projectx500
Copy link

I met with the same bug and fixed it in a similar way. So I just post it here for those looking to fix it themselves.

In addition to line 307, u have to rename namespace to nameSpace in all these lines

307 : nameSpace = options.nameSpace;
319 : fields.filter(type[0]).on('keyup.' + nameSpace, function(event) {
328 : fields.on('blur.' + nameSpace, function(event) {
337 : fields.on('change.' + nameSpace, function(event) {
346 : form.on('submit.' + nameSpace, function(event) {

Or just do a search and replace :-)

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