9426: suppress new lines in the tag content editable field
[arvados.git] / apps / workbench / app / views / collections / save_tags.js.erb
index e2faff169a677a0ae9c1dfe89a207729f0718e61..5fc84d727dfdfa772c38aada40f23184725d0d0e 100644 (file)
@@ -1 +1,3 @@
+<% if @saved_tags %>
 $(".collection-tag-rows").html("<%= escape_javascript(render partial: 'show_tag_rows', locals: {object: @object}) %>");
+<% end %>