Skip to content
Snippets Groups Projects
Commit bd2d0000 authored by Jared Hancock's avatar Jared Hancock
Browse files

files: Clear attachment box after posting a response

parent e8cedfd6
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ if($_POST && is_object($ticket) && $ticket->getId()):
Draft::deleteForNamespace('ticket.client.' . $ticket->getId());
// Drop attachments
$attachments->reset();
$tform->setSource(array());
$attachments->getForm()->setSource(array());
} else {
$errors['err']=__('Unable to post the message. Try again');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment