Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
#656 & #530 IMPORTANT FIX & #655 Processing selectTableItems process …
Browse files Browse the repository at this point in the history
…response
  • Loading branch information
damianprzygodzki committed Apr 20, 2017
1 parent 252bbd5 commit 03f3e26
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/actions/WindowActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,11 @@ export function handleProcessResponse(response, type, id, successCallback) {
case 'closeIncludedView':
dispatch(setListIncludedView());
break;
case 'selectViewRows':
dispatch(selectTableItems(
action.rowIds, action.windowId
));
break;
}
}

Expand Down
1 change: 1 addition & 0 deletions src/components/app/DocumentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class DocumentList extends Component {
if(
selectedWindowType === windowType &&
cachedSelection !== null &&
cachedSelection !== undefined &&
layout && layout.supportIncludedView &&
includedView && includedView.windowType && includedView.viewId
){
Expand Down
5 changes: 3 additions & 2 deletions src/components/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class Header extends Component {
handleSidelistToggle = (id = null, sideListTab) => {

this.toggleScrollScope(id !== null);

this.setState({
isSideListShow: id !== null && id !== sideListTab,
sideListTab: id !== sideListTab ? id : null
Expand Down Expand Up @@ -502,7 +502,8 @@ class Header extends Component {
/>}

<GlobalContextShortcuts
handleSidelistToggle={(id) => this.handleSidelistToggle(id, sideListTab)}
handleSidelistToggle={(id) =>
this.handleSidelistToggle(id, sideListTab)}
handleMenuOverlay={isMenuOverlayShow ?
() => this.handleMenuOverlay('', '') :
() => this.closeOverlays('',
Expand Down
1 change: 1 addition & 0 deletions src/containers/DocList.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ class DocList extends Component {
>
<DocumentList
type="includedView"
selected={selected}
windowType={includedView.windowType}
defaultViewId={includedView.viewId}
isIncluded={true}
Expand Down

0 comments on commit 03f3e26

Please sign in to comment.