| Index
» Projects
» phpMyEdit
» Bug list
» Bug #437 |
 |
|
Viewing Bug Advanced Details |
[ Jump to Bugnotes ]
[ Bug History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0000437 |
core / general |
major |
always |
2007-03-24 00:31 |
2007-04-13 12:53 |
|
|
|
Reporter |
jimrafert |
View Status |
public |
|
|
Assigned To |
michal |
|
Priority |
normal |
Resolution |
fixed |
Platform |
Red hat |
|
Status |
resolved |
Duplicate ID |
|
OS |
Linux Enterprise |
|
Projection |
none |
|
Version |
4 |
|
ETA |
none |
|
Product Version |
5.6 (stable) |
|
|
Product Build |
|
|
|
Votes |
1 |
|
|
|
Summary |
Custom buttons with JS always show disabled |
|
Description |
When a custom button is defined with the ['js'] option set, the button always displays as disabled. |
|
Steps To Reproduce |
|
|
Additional Information / Solution |
In display_button(), the call to htmlSubmit() is missing the js_validation parameter, thus ['disabled'] is getting passed to js_validation, and ['js'] gets passed as the disabled parameter.
Also, you should skip js validation checks if ['js'] includes 'onclick'. Document this so we know how to call validation checks from our own onclick scripts. |
|
Attached Files |
|
|
|
|
Bug Notes |
michal
2007-04-13 12:53
|
fixed in cvs, please check if works as desired, feel free to reopen if not. |
|
|
|
|