fix: can now remove annotation tags without popover closing

This commit is contained in:
Torkel Ödegaard 2017-10-12 16:24:17 +02:00
parent 3b14bee559
commit 2992fb4b0e

View File

@ -358,6 +358,8 @@
// Remove icon clicked
self.$container.on('click', '[data-role=remove]', $.proxy(function(event) {
self.remove($(event.target).closest('.tag').data('item'));
// Grafana mod, if tags input used in popover the click event will bubble up and hide popover
event.stopPropagation();
}, self));
// Only add existing value as tags when using strings as tags