Set background color of selected row in lesion table

This commit is contained in:
Evren Ozkan committed 2015-12-02 14:19:26 -05:00
1 parent e248f9ec7a
commit 5bf96137f1
2 files changed
+13 -3

No files matched your search

@@ -211,6 +211,10 @@ Template.lesionTable.events({
'click table#tblLesion tbody tr': function(e, template) {
// Retrieve the lesion id from the DOM data for this row
var measurementId = $(e.currentTarget).data('measurementid');
// Set background color of selected row
$(e.currentTarget).addClass("selectedRow").siblings().removeClass("selectedRow");
activateLesion(measurementId,template.data);
}
});