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