use form.submit() insted of form.<sendbutton>.click() which depends on the buttonname

Does not work if a button is named submit
This commit is contained in:
Ralf Becker 2001-05-29 20:40:17 +00:00
parent e00a141c63
commit 797fd48aba

View File

@ -55,7 +55,7 @@
" if (field.value != 'null') {\n".
" if (field.value.length == 0)\n".
" field.value = '%';\n".
" field.form.submit.click();\n".
" field.form.submit();\n".
" } else\n".
" field.value = ''\n".
" }\n".