mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Merge pull request #161 from Dahlgren/bugfix/mission-upload
Handle mission form submission event correctly
This commit is contained in:
commit
6dffd9c551
@ -12,7 +12,8 @@ module.exports = Marionette.ItemView.extend({
|
||||
'click form button': 'submit'
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
submit: function (event) {
|
||||
event.preventDefault()
|
||||
var self = this
|
||||
var $form = this.$el.find('form')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user