Changeset 584 for trunk


Ignore:
Timestamp:
02/04/09 15:31:56 (14 years ago)
Author:
ramonb
Message:

job_monarch/js/jobgrid.js:

  • enable/disable filtermenu only when filter are active
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/js/jobgrid.js

    r583 r584  
    2121                        id: 'filtermenuknop',
    2222                        text: 'Filters',
     23                        disabled: true,
    2324                        menu: filterMenu
    2425                });
     
    327328  {
    328329    filterButton.menu = filterMenu;
     330
     331    if( ArraySize( myfilters ) > 0 )
     332    {
     333      filterButton.enable();
     334    }
     335    else
     336    {
     337      filterButton.disable();
     338    }
    329339  }
    330340}
Note: See TracChangeset for help on using the changeset viewer.