forked from extern/egroupware
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:
parent
319f1ee907
commit
483a48e0e9
@ -14,6 +14,7 @@ function submitit(form,name)
|
||||
//alert(name+' pressed');
|
||||
form.submit_button.value = name;
|
||||
form.submit();
|
||||
form.submit_button.value = '';
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user