Comment 1 for bug 1808268

Revision history for this message
Jane Sandberg (sandbergja) wrote :

I created a branch for this called user/sandbergja/lp1808268_add_disable_option_to_eg2_grid_toolbar_action

Here's a link: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp1808268_add_disable_option_to_eg2_grid_toolbar_action

It includes an action in the sandbox that is conditionally enabled/disabled, so that you can see this in action.

Here are the testing instructions from the commit:
1) Apply this commit and recompile eg2.
2) Open the eg2 sandbox (https://yourdomain/eg2/staff/sandbox)
3) Ensure that the action called "Action that needs a single row"
is only enabled when one row of the grid is selected.
4) Create more <eg-grid-toolbar-actions> on grids in eg2. Make sure
that they all enable/disable those actions per the output of the
functions you reference in the [disabled] attribute.