| Index
» Projekty
» phpMyEdit
» Fórum
» javascript "Error: phpMyEdit_form_control is not define |
 |
cgalpin
Založený: 07.06.2004
Príspevky: 2
Zaslal: 2004-06-07 22:23
Návrat hore
Odpovedať s citátom
|
Hi Folks
I'm a relatively new user to phpMyEdit and have found it very useful to create a large number of basic CRUD tables (although sometimes I find myself fighting the framework to do anything beyond the simple and wonder if it's worth it :) )
Anyway, I have found a number of things I have had to work around or extend phpMyEdit to support that I hope to at least comment on at some point, but consider them lack of features. Today I found what I consider a bug so I thought I should report it asap.
I get the javascript error "Error: phpMyEdit_form_control is not defined" on any delete page. The form generation does not generate the phpMyEdit_form_control function for delete, but htmlSubmit adds a call to onClick for it.
Changing htmlSubmit to not add the onClick when the operation is delete solves it for me.
if ($js_validation && !$this->delete_operation()) {
$ret .= '" onClick="return phpMyEdit_form_control(this.form);';
}
Maybe I'm missing a combination of options that is causing this?
charles
|
hbernard
Založený: 23.03.2003
Príspevky: 159
Bydlisko: FRANCE
Zaslal: 2004-06-11 08:48
Návrat hore
Odpovedať s citátom
|
... I thought this was fixed in current cvs. I'll check.
_________________ hbernard - phpMyEdit updater.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|