Skip to content

Commit

Permalink
disable ajax for file uplaods
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 4, 2013
1 parent b597a65 commit 331d92f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ function showParamHeaders() {

//disable ajax for file uploads
if($("#allparameters").find(".input-file.realinputvalue").length){
$("#submitajax").attr("disabled", "disabled")
$("#submitajax").attr("disabled", "disabled");
$("#httpmethod").val("POST");
}
} else {
$("#allparameters").hide();
Expand Down

0 comments on commit 331d92f

Please sign in to comment.