Skip to content

Commit

Permalink
Merge pull request #3792 from ckan/fix-js-tests-and-circle
Browse files Browse the repository at this point in the history
Fix JS error on tests that was breaking the CircleCI build
  • Loading branch information
wardi committed Aug 31, 2017
2 parents 42d2f01 + cf2b2ac commit a098eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/public/base/javascript/modules/basic-form.js
Expand Up @@ -11,7 +11,7 @@ this.ckan.module('basic-form', function (jQuery) {
// consecutive form submissions.
this.el.on('submit', this._onSubmit);
},
_onSubmit() {
_onSubmit: function () {

// The button is not disabled immediately so that its value can be sent
// the first time the form is submitted, because the "save" field is
Expand Down

0 comments on commit a098eb7

Please sign in to comment.