From 01e05d1a42bc567bca86dffada65d9f68a97fec9 Mon Sep 17 00:00:00 2001
From: aydreeihn <adriane@enhancesoft.com>
Date: Wed, 21 Mar 2018 16:54:35 -0500
Subject: [PATCH] fix inline file uploads

---
 include/ajax.tickets.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/ajax.tickets.php b/include/ajax.tickets.php
index 3f53acd18..2d5ed5700 100644
--- a/include/ajax.tickets.php
+++ b/include/ajax.tickets.php
@@ -523,6 +523,10 @@ function refer($tid, $target=null) {
                           __($field->getLabel())
                           )
                       );
+
+              $impl = $field->getImpl();
+              if ($impl instanceof FileUploadField)
+                  $field->save();
               Http::response(201, $field->getClean());
           }
           $form->addErrors($errors);
-- 
GitLab