diff --git a/javascript/src/QfqPage.js b/javascript/src/QfqPage.js
index e07a10d40abbd3da9a7d53ce8351f926632129d7..66dc8295dbee132a9cb05617be2291938964e996 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) {