From 1837de41bd7fe3033b15ab8a5045b8450af56d9b Mon Sep 17 00:00:00 2001
From: Rafael Ostertag <rafael.ostertag@math.uzh.ch>
Date: Wed, 27 Apr 2016 12:54:42 +0200
Subject: [PATCH] Brought back fileDeleteUrl in QfqPage.js

---
 javascript/src/QfqPage.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/javascript/src/QfqPage.js b/javascript/src/QfqPage.js
index e07a10d40..66dc8295d 100644
--- a/javascript/src/QfqPage.js
+++ b/javascript/src/QfqPage.js
@@ -20,6 +20,7 @@ var QfqNS = QfqNS || {};
                 deleteUrl: "typo3conf/ext/qfq/qfq/api/delete.php",
                 refreshUrl: "typo3conf/ext/qfq/qfq/api/load.php",
                 fileUploadTo: "typo3conf/ext/qfq/qfq/api/upload.php",
+                fileDeleteUrl: "typo3conf/ext/qfq/qfq/api/filedelete.php",
                 pageState: new n.PageState()
             }, settings
         );
@@ -48,7 +49,8 @@ var QfqNS = QfqNS || {};
                 this.settings.submitTo,
                 this.settings.deleteUrl,
                 this.settings.refreshUrl,
-                this.settings.fileUploadTo);
+                this.settings.fileUploadTo,
+                this.settings.fileDeleteUrl);
             this.qfqForm.setBsTabs(this.bsTabs);
             this.qfqForm.on('qfqform.destroyed', this.destroyFormHandler.bind(this));
         } catch (e) {
-- 
GitLab