" +
- "Total duration in hours : " + data.totalDuration + " | " +
- "Total duration in minutes:" + totalMin + " | " +
- "
");
+
+ $('.time-entry-data').show();
+ $('#taskDetailsTable').show();
+ $('#user-drop-down-body').show();
+ $('#no-record-info-msg').hide();
+ stopLoader();
+
+ $('#taskDetailsTable tbody').on('click', 'td.details-control', function () {
+ var tr = $(this).closest('tr');
+ var row = taskDetailsTable.row(tr);
+
+ if (row.child.isShown()) {
+ // This row is already open - close it
+ row.child.hide();
+ tr.removeClass('shown');
+ } else {
+ // Open this row
+ row.child(formatCollapsableRow(row.data())).show();
+ tr.addClass('shown');
+ }
+ });
+
+ $("#taskDetailsTable_wrapper").css('width', "100%");
+ $("#total-duration").html("