--- a/src_js/iconolab-bundle/src/main.js Mon May 22 12:11:44 2017 +0200
+++ b/src_js/iconolab-bundle/src/main.js Mon May 22 16:17:36 2017 +0200
@@ -38,6 +38,14 @@
Vue.component('annotation-list', Editor.AnnotationList);
Vue.component('comment-list', Editor.CommentList);
+$('.table-clickable').each(function() {
+ var selector = $(this).data('selector');
+ $(this).find('tr').on('click', function(e) {
+ var href = $(this).find(selector).attr('href');
+ window.location.replace(href);
+ });
+})
+
if (!window.iconolab) {
window.iconolab = iconolab;
}