--- a/src/pyams_default_theme/resources/js/pyams-default.js Fri Jan 04 09:40:01 2019 +0100
+++ b/src/pyams_default_theme/resources/js/pyams-default.js Fri Jan 04 09:40:23 2019 +0100
@@ -153,7 +153,8 @@
if (modal.exists()) {
ams.dialog.close(modal);
}
- ams.dialog.open('/get-glossary-term.html?term=' + $(this).text(), {}, {
+ var term = $(this).data('term') || $(this).text();
+ ams.dialog.open('/get-glossary-term.html?term=' + term, {}, {
shown: function() {
$('.thesaurus-term').off('click').on('click', clickTerm);
}