Resolve "Transition branch for CMB and Resq merging" #1181

Merged
korina.cordero merged 258 commits from 329-transition-branch-for-cmb-and-resq-merging into master 2020-04-03 02:49:26 +00:00
Showing only changes of commit b7b673fdaf - Show all commits

View file

@ -930,13 +930,13 @@ $(function() {
}
});
$(function(){
$(function() {
var selectedHub = "";
$("#hubs-table").on('click', 'tr', function() {
$('#hubs-table').on('click', 'tr', function() {
var id = $(this).data('id');
// highlight this row
$("#hubs-table").find('.m-table__row--primary').removeClass('m-table__row--primary');
$('#hubs-table').find('.m-table__row--primary').removeClass('m-table__row--primary');
$(this).addClass('m-table__row--primary');
@ -965,6 +965,21 @@ $(function() {
});
});
$(function() {
var selectedRider = "";
$('#riders-table').on('click', 'tr', function() {
var id = $(this).data('id');
// highlight this row
$('#riders-table').find('.m-table__row--primary').removeClass('m-table__row--primary');
$(this).addClass('m-table__row--primary');
// set rider
selectedRider = id;
});
});
{% if mode in ['update-processing', 'update-reassign-hub'] %}
// display hub map
// OSM code