Skip to content

Commit e76578f

Browse files
Martchuscoolo
authored andcommitted
Prevent worker status selection to sort (#1555)
https://progress.opensuse.org/issues/29378
1 parent b7af96d commit e76578f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/javascripts/admin_worker.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,9 @@ function loadWorkerTable() {
5252
this.api().column(4).search("Online").draw();
5353
}
5454
} );
55+
56+
// prevent sorting when worker status selection clicked
57+
$('#workers_online').on('click', function(event) {
58+
event.stopPropagation();
59+
});
5560
}

0 commit comments

Comments
 (0)