Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
Bug en clickSubmit al usar <button> en lugar de <a>
  • Loading branch information
davicotico authored Mar 22, 2020
1 parent 112d3f7 commit 51c2431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.formHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
$(this).prop('disabled', true).addClass('disabled');
var dataaction = $(this).data('action');
var action = (dataaction === 'undefined') ? $(this).attr('href') : dataaction;
if ((action==='undefined')||(action==='')){
if ((typeof action==='undefined')||(action==='')){
action = settings.action;
}
$(this).removeData('action').removeAttr('data-action');
Expand Down

0 comments on commit 51c2431

Please sign in to comment.