| phpMyEdit - Viewing Bug Advanced Details | [ Go Back ] | ||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 437 | core / general | major | always | 2007-03-24 00:31 | 2007-04-13 12:53 |
|
|
|||||
| Reporter: | jimrafert | Platform: | Red hat | ||
| Assigned To: | michal | OS: | Linux Enterprise | ||
| Priority: | normal | Version: | 4 | ||
| Status: | resolved | Product Version: | 5.6 (stable) | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | Duplicate ID: | |||
| ETA: | none | ||||
|
|
|||||
| 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 | ||||
|
|
||||
|
|
|||