Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-461

Actionbar: updateActionbar method should be called when an item is deleted.

    XMLWordPrintable

Details

    Description

      AbstractCongtentSubApp.updateActionbar is not called when a list/tree/thumbnail item is deleted. Ideally, this method should be called ANY TIME the selection in the views changes.

      This causes a problem specifically in Assets app.
      Generally, when no item is selected, then the updateActionbar will configure the actionbar to show the appropriate actions.
      If I select a folder, then I correctly get actions to "Rename folder" and "Delete folder".
      But if I then delete the folder, then no items will be selected any more, and therefore the actionBar should update to not give me the "Rename folder" and "Delete folder" options. But currently these options remain available.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD