Skip to content

Commit

Permalink
Implemented handlers for the forms
Browse files Browse the repository at this point in the history
  • Loading branch information
cbdavide committed Oct 11, 2017
1 parent 6d1d55c commit 1a8dcbe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sales/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ $(document).ready(function() {
$amount_field.val(value < 0 ? 0 : value)

})

$('#get_product').on('submit', function(e) {
console.log('buenala')
e.preventDefault()
})

$('#register').on('submit', function(e) {
console.log('ja')
e.preventDefault()
})

})

function to_int($element) {
Expand Down

0 comments on commit 1a8dcbe

Please sign in to comment.