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

:checked handler doesn't raise error when value is blank #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wheeyls
Copy link

@wheeyls wheeyls commented Nov 26, 2015

When there is no value for a model, and no checkbox is checked on page load, this checked handler throws an error.

Making a change to bail out instead of trying to set the value if there is no matching radio to set. I tried to get a spec written for this but running grunt test yielded an error:

running "mocha_phantomjs:all" (mocha_phantomjs) task Test Failed to start mocha: Init timeout Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/mike/code/backbone.epoxy/node_modules/grunt-mocha-phantomjs/node_modules/mocha-phantomjs/lib/mocha-phantomjs.coffee. Domains, protocols and ports must match.

Not sure how up to date your tests are, but I didn't want to monkey with that.

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

Successfully merging this pull request may close these issues.

1 participant