Skip to content

Commit

Permalink
Prevent worker status selection to sort (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus authored and coolo committed Jan 9, 2018
1 parent b7af96d commit e76578f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/javascripts/admin_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ function loadWorkerTable() {
this.api().column(4).search("Online").draw();
}
} );

// prevent sorting when worker status selection clicked
$('#workers_online').on('click', function(event) {
event.stopPropagation();
});
}

0 comments on commit e76578f

Please sign in to comment.