@@ -211,6 +211,8 class IssuesController < ApplicationController | |||||
211 | rescue ActiveRecord::StaleObjectError |
|
211 | rescue ActiveRecord::StaleObjectError | |
212 | # Optimistic locking exception |
|
212 | # Optimistic locking exception | |
213 | flash.now[:error] = l(:notice_locking_conflict) |
|
213 | flash.now[:error] = l(:notice_locking_conflict) | |
|
214 | # Remove the previously added attachments if issue was not updated | |||
|
215 | attachments.each(&:destroy) | |||
214 | end |
|
216 | end | |
215 |
|
217 | |||
216 | def reply |
|
218 | def reply |
General Comments 0
You need to be logged in to leave comments.
Login now