Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, November 12, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Bug list  »  Bug #560

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000560 core / general minor always 2008-10-22 10:43 2008-10-22 10:43
 
Reporter seldon View Status public  
Assigned To
Priority normal Resolution open Platform every
Status new Duplicate ID OS every
Projection none Version every
ETA none Product Version current from CVS
  Product Build
  Votes 1
 
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.

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy