Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure assist panel shows when there are no job tabs. #155

Merged
merged 1 commit into from
Jun 12, 2017

Conversation

jpwhite4
Copy link
Member

@jpwhite4 jpwhite4 commented Jun 8, 2017

Description

The assist panel did not show when the job tabs were removed due to a
right-click delete search in the search history tree. This was because
the tab.removeAll() function did not fire the close event. Changed the
code to listen to the destroy event which is always fired.

Motivation and Context

Bug fix

Tests performed

Steps to test:

  • Open one or more jobs in the job viewer
  • in the searhc history tree right click on a search node and select
    'Delete Search'
  • Click 'yes' when prompted

With the original code the main tab panel is blank. This change results
in the assist panel being displayed again.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

The assist panel did not show when the job tabs were removed due to a
right-click delete search in the search history tree. This was because
the tab.removeAll() function did not fire the close event. Changed the
code to listen to the destroy event which is always fired.

Steps to test:

- Open one or more jobs in the job viewer
- in the searhc history tree right click on a search node and select
  'Delete Search'
- Click 'yes' when prompted

With the original code the main tab panel is blank. This change results
in the assist panel being displayed again.
@jpwhite4 jpwhite4 requested a review from ryanrath June 9, 2017 14:01
@jpwhite4 jpwhite4 merged commit b7713ac into ubccr:xdmod7.0 Jun 12, 2017
@jpwhite4 jpwhite4 deleted the assist branch June 12, 2017 15:02
@tyearke tyearke added the bug Bugfixes label Aug 14, 2017
@tyearke tyearke added this to the v7.0.0 milestone Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants