Commit 489b677e5881512562195d7625cb76f0d59f88e4
1 parent
16239247
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
virtuoso: stop click propagation in ontology_mapping.js
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 | 2 | |
| 3 | 3 | $('#new-ontology-button').on('click', function() { |
| 4 | 4 | $('#ontology-table').append($('#ontology-item-template tr').clone()); |
| 5 | + return false; | |
| 5 | 6 | }); |
| 6 | 7 | |
| 7 | 8 | $('#ontology-table').on('click', '.remove-ontology-button', function() { |
| 8 | 9 | $(this).parents('tr').remove(); |
| 10 | + return false; | |
| 9 | 11 | }); |
| 10 | 12 | |
| 11 | 13 | }); | ... | ... |