Skip to content

Commit

Permalink
Merge pull request #56 from camsys/quarter3
Browse files Browse the repository at this point in the history
Bump version and fix js error to add validation only if field exists
  • Loading branch information
mathmerized authored Sep 27, 2018
2 parents 4121fee + 411c1fd commit 475b395
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions app/views/assets/_accounting_asset_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
form.submit();
}
});
$('input.funding-pcnt').rules( "add", {
pcntSumsHundred: true
});
if ($('input.funding-pcnt').length > 0) {
$('input.funding-pcnt').rules( "add", {
pcntSumsHundred: true
});
}
});
$('body').on('change', '#grant_purchases .funding-pcnt', function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/transam_accounting/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TransamAccounting
VERSION = "2.3.5"
VERSION = "2.3.6"
end

0 comments on commit 475b395

Please sign in to comment.