9426: suppress new lines in the tag content editable field
[arvados.git] / apps / workbench / app / controllers / collections_controller.rb
index 6b5e6133db3d4025b85e2c7f61c134b6a5f0b2c9..99399bc9c2dc745c7d04e9842039346b7c082bab 100644 (file)
@@ -364,6 +364,8 @@ class CollectionsController < ApplicationController
       props[:tags] = tags
 
       if @object.update_attributes properties: props
+        @saved_tags = true
+        render
       else
         self.render_error status: 422
       end