cgalpin
Joined: 07 Jun 2004
Posts: 2
Posted: 2004-06-07 22:23
Back to top
Reply with quote
|
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
Joined: 23 Mar 2003
Posts: 159
Location: FRANCE
Posted: 2004-06-11 08:48
Back to top
Reply with quote
|
... I thought this was fixed in current cvs. I'll check.
_________________ hbernard - phpMyEdit updater.
|
|
Post new topic
Reply to topic
|
|
|