Changes between Initial Version and Version 1 of Ticket #6262, comment 1


Ignore:
Timestamp:
Nov 10, 2010, 6:26:14 AM (8 years ago)
Author:
goldy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6262, comment 1

    initial v1  
    11the bug is ported to 1.8.6. same issue.
     2
     3i just saw a closed bug
     4http://bugs.jqueryui.com/ticket/5946
     5which is strange for me, because the case is kinda very private. He want to hide certain buttons from a button set.
     6for me the solution should not be so general for all buttonsets and buttons. If he wants to hide specific button he should add a class ui-helper-hidden or better to implement some kind of functionality in ui.button and ui.buttonset to hide button
     7ex.
     8
     9{{{
     10$("#mybutton").button('hide');
     11}}}
     12 
     13like disable
     14{{{
     15$("#mybutton").button('disable');
     16}}}
     17 
     18and for buttonset we should have a possibility to add as parameter an array with buttons to show or to hide
     19
     20{{{
     21$("#mybuttonset").buttonset({
     22 hide:[0,3,5],
     23 show:[1,2,4]
     24});
     25}}}
     26