Skip to content

Commit

Permalink
Prevent form submiting post
Browse files Browse the repository at this point in the history
  • Loading branch information
beefo committed Jun 3, 2016
1 parent d99f34c commit 5d8e0dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,8 @@ geotab.addin.importFuelTransactions = function () {
form.submit();
};

var uploadFile = function () {
var uploadFile = function (e) {
e.preventDefault();
toggleAlert(elAlertInfo, 'Parsing... transferring file');
api.getSession(function (credentials) {
var fd;
Expand Down

0 comments on commit 5d8e0dd

Please sign in to comment.