mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
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
dbb52a6231
commit
467423329f
@ -14,6 +14,7 @@ function submitit(form,name)
|
|||||||
//alert(name+' pressed');
|
//alert(name+' pressed');
|
||||||
form.submit_button.value = name;
|
form.submit_button.value = name;
|
||||||
form.submit();
|
form.submit();
|
||||||
|
form.submit_button.value = '';
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user