diff --git a/via.html b/via.html
index 9affccb..15987c2 100644
--- a/via.html
+++ b/via.html
@@ -2653,6 +2653,7 @@
File Not Found
annotation_editor_clear_row_highlight();
annotation_editor_highlight_row( new_region_id );
select_only_region(new_region_id);
+
}
}
_via_redraw_reg_canvas();
@@ -6142,11 +6143,19 @@ File Not Found
}
}
}
-
+function row_click_handler(e)
+{
+ var id = e.target.id;
+ var row_id = id.slice(id.search("[0-9]"));
+ select_only_region(row_id);
+ _via_redraw_reg_canvas();
+}
function annotation_editor_get_metadata_row_html(row_id) {
var row = document.createElement('div');
row.setAttribute('class', 'row');
row.setAttribute('id', 'ae_' + _via_metadata_being_updated + '_' + row_id);
+ // row.setAttribute('onclick', 'select_only_region('+row_id+')');
+ row.addEventListener('click', row_click_handler);
if ( _via_metadata_being_updated === 'region' ) {
var rid = document.createElement('span');