Commit b8ef3ec5 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

QfqPage.js: Pass refreshUrl to QfqForm.

parent 4ff64bce
......@@ -19,6 +19,7 @@ if (!QfqNS) {
formId: "qfqForm",
submitTo: "typo3conf/ext/qfq/qfq/api/save.php",
deleteUrl: "typo3conf/ext/qfq/qfq/api/delete.php",
refreshUrl: "typo3conf/ext/qfq/qfq/api/load.php",
pageState: new QfqNS.PageState()
}, settings
);
......@@ -43,7 +44,11 @@ if (!QfqNS) {
}
try {
this.qfqForm = new QfqNS.QfqForm(this.settings.formId, this.settings.submitTo, this.settings.deleteUrl);
this.qfqForm = new QfqNS.QfqForm(
this.settings.formId,
this.settings.submitTo,
this.settings.deleteUrl,
this.settings.refreshUrl);
this.qfqForm.setBsTabs(this.bsTabs);
this.qfqForm.destroyFormUserCallbacks.addFunction(this.destroyFormHandler.bind(this));
} catch (e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment