Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Adding row data to obj returned for selected and deselected events
Browse files Browse the repository at this point in the history
Fixes #1474
  • Loading branch information
BenjaminNeilDavis committed Sep 10, 2015
1 parent ad24525 commit 4784efa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/repeater-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@
rowData: clickedRow.data('item_data')
});
}

selectedObj.length === 1 ? selectedObj = selectedObj[0] : selectedObj = selectedObj;
if (selectedObj.length === 1) {
selectedObj = selectedObj[0];
}

if (actionObj.clickAction) {
actionObj.clickAction(selectedObj, function () {});
Expand Down

0 comments on commit 4784efa

Please sign in to comment.