fixed 2.unwanted-download problem: if you click on a download button and then use eg. a selectbox with onchange='this.form.submit()' the button _stays_ pressed, because the value of the button var is still set as the previous submitted form returns no new page to the browser (resetting the button var), because it's a download

This commit is contained in:
Ralf Becker 2007-09-20 08:45:21 +00:00
parent 319f1ee907
commit 483a48e0e9

View File

@ -14,6 +14,7 @@ function submitit(form,name)
//alert(name+' pressed');
form.submit_button.value = name;
form.submit();
form.submit_button.value = '';
return false;
}