Merge pull request #693 from mlorb/ml_sci_1351_v3

Fix error msg when editing empty cell in repositories [SCI-1351]
This commit is contained in:
mlorb 2017-06-19 14:19:27 +02:00 committed by GitHub
commit beaba6a92b

View file

@ -131,7 +131,7 @@ class RepositoryRowsController < ApplicationController
record_annotation_notification(@record, value.repository_cell) record_annotation_notification(@record, value.repository_cell)
else else
errors[:repository_cells] << { errors[:repository_cells] << {
"#{cell.repository_column_id}": value.errors.messages "#{column.id}": value.errors.messages
} }
end end
end end