Created
March 8, 2018 18:47
-
-
Save zeroef/fe2a68371dc4bc08dea9ed12c441de45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Case row click handler | |
| $(document).on('click', '.case-row td:not(input[type=checkbox])', function (e) { | |
| //If row click is on checkbox (case transfer), ignore the click event and flip the checkbox state | |
| if ($(event.target).is('input[type=checkbox]')) { return; } | |
| e.preventDefault(); | |
| var xref = $(this).closest('tr').attr('id'); | |
| var hiddenControl = document.getElementById("<%=hCaseClicked.ClientID%>"); | |
| hiddenControl.value = xref; | |
| origXrefCtrl = xref; | |
| __doPostBack('<%= btnCaseSelected.ClientID %>', ''); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment