| phpMyEdit - Viewing Bug Advanced Details | [ Go Back ] | ||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 560 | core / general | minor | always | 2008-10-22 10:43 | 2008-10-22 10:43 |
|
|
|||||
| Reporter: | seldon | Platform: | every | ||
| Assigned To: | OS: | every | |||
| Priority: | normal | Version: | every | ||
| Status: | new | Product Version: | current from CVS | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | Duplicate ID: | |||
| ETA: | none | ||||
|
|
|||||
| Summary: | hiding of goto_combo does not work correct | ||||
| Description: |
when you set up the buttons like this $opts['buttons']['L']['up'] = array('-<<','-<','-add','->','->>','-goto','-goto_combo'); which means that the buttons should only be displayed when they are enabled, it works for all buttons except for the goto_combo. this button is shown, although its correctly disabled. |
||||
| Steps To Reproduce: | see description | ||||
| Additional Information / Solution: |
the bug is in core class around line 2030 where it says if ($disablegoto != '' && $disabled < 0) return; which always is false since there is no var $disablegoto defined, instead it should read so if ($disabledgoto != '' && $disabled < 0) return; NOTICE the d in $disabledgoto thats the solution ;) also attached as goto_combo_disabled.patch |
||||
| Attached Files: | |||||
| There are no notes attached to this bug. |