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

SAW-Added validations to line item visits subject count #437

Merged
merged 1 commit into from Jun 1, 2016

Conversation

SamWord
Copy link
Contributor

@SamWord SamWord commented May 30, 2016

No description provided.

@@ -46,9 +46,13 @@
title: 'Edit subject count',
validate: function(val) {
var n = ~~Number(val);
var max_subject_count = $(this).data('max-subject-count');
Copy link
Contributor

@wtholt wtholt Jun 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine to me. This file really needs to be refactored though. I know you are just working with what was already there, but having JS code inline with views defeats the purpose of MVC architecture.

@jleonardw9 jleonardw9 merged commit 2e702f3 into master Jun 1, 2016
@jleonardw9 jleonardw9 deleted the saw-line-item-visit-subject-count-validation branch June 1, 2016 18:32
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.

None yet

3 participants