Skip to content

Commit

Permalink
Always store the form action so it can be properly restored
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Jun 22, 2012
1 parent ccc4884 commit cdd12cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/javascripts/api_taster/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ $.fn.extend({
var replacedAction = ApiTaster.formAction.replace(regex, paramValue);

form.attr("action", replacedAction);
} else {
ApiTaster.storeFormActionFor(form);
}
});
},
Expand Down

0 comments on commit cdd12cf

Please sign in to comment.