Better error displaying
This commit is contained in:
parent
580dc88c84
commit
6e5207c8e4
@ -171,7 +171,7 @@ class DmsfWorkflowsController < ApplicationController
|
||||
end
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
elsif action.action != DmsfWorkflowStepAction::ACTION_APPROVE && action.note.blank?
|
||||
flash[:errors] = l(:error_empty_note)
|
||||
flash[:error] = l(:error_empty_note)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user