Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  javascript "Error: phpMyEdit_form_control is not define

phpMyEdit General     javascript "Error: phpMyEdit_form_control is not define
Odoslať novú tému   Odpovedať na tému    
 
cgalpin     Založený: 07.06.2004   Príspevky: 2  
Príspevok 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
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov