Skip to content

Commit

Permalink
Fixed - Can't Save Account Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaurabhsinha committed Sep 6, 2016
1 parent 85c6975 commit d982676
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions public/assets/js/controllers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ var userObj = new Vue({
userObj.user = result;
});
},
update: function(){
event.preventDefault();
update: function(event){
if(event !== undefined) {
event.preventDefault();
}

var data = this.user;

$.ajax({
Expand Down

0 comments on commit d982676

Please sign in to comment.