Skip to content

Commit

Permalink
Restores listview deafult row click behavior, expanding row content
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Apr 3, 2018
1 parent 0ae3d01 commit e8e0682
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions client/app/orders/order-explorer/order-explorer.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ function ComponentController ($filter, $state, lodash, ListView, Language, Order
showSelectBox: checkApproval(),
useExpandingRows: true,
selectionMatchProp: 'id',
onClick: expandRow,
onCheckBoxChange: selectionChange
}
}
Expand Down Expand Up @@ -131,12 +130,6 @@ function ComponentController ($filter, $state, lodash, ListView, Language, Order
return checkApproval() ? menuActions : null
}

function expandRow (item) {
if (!item.disableRowExpansion) {
item.isExpanded = !item.isExpanded
}
}

function sortChange (sortId, direction) {
OrdersState.setSort(sortId, direction)
resolveOrders(vm.limit, 0)
Expand Down

0 comments on commit e8e0682

Please sign in to comment.