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