Commit 2e22079c2f3dea27872b69632c1a3c7cd65c4213
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'virtuoso_integration' into stable
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
plugins/virtuoso/public/ontology_mapping.js
@@ -2,10 +2,12 @@ jQuery(document).ready(function($) { | @@ -2,10 +2,12 @@ jQuery(document).ready(function($) { | ||
2 | 2 | ||
3 | $('#new-ontology-button').on('click', function() { | 3 | $('#new-ontology-button').on('click', function() { |
4 | $('#ontology-table').append($('#ontology-item-template tr').clone()); | 4 | $('#ontology-table').append($('#ontology-item-template tr').clone()); |
5 | + return false; | ||
5 | }); | 6 | }); |
6 | 7 | ||
7 | $('#ontology-table').on('click', '.remove-ontology-button', function() { | 8 | $('#ontology-table').on('click', '.remove-ontology-button', function() { |
8 | $(this).parents('tr').remove(); | 9 | $(this).parents('tr').remove(); |
10 | + return false; | ||
9 | }); | 11 | }); |
10 | 12 | ||
11 | }); | 13 | }); |