mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge pull request #666 from creative-commoners/pulls/5.0/controller-name-in-ping
FIX Use correct controller name for ping AJAX request
This commit is contained in:
commit
c17b5b011b
2
client/dist/js/userforms.js
vendored
2
client/dist/js/userforms.js
vendored
File diff suppressed because one or more lines are too long
@ -724,7 +724,7 @@ $(document).ready(() => {
|
|||||||
|
|
||||||
// Make sure the form doesn't expire on the user. Pings every 3 mins.
|
// Make sure the form doesn't expire on the user. Pings every 3 mins.
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
$.ajax({ url: 'UserDefinedForm_Controller/ping' });
|
$.ajax({ url: 'UserDefinedFormController/ping' });
|
||||||
}, 180 * 1000);
|
}, 180 * 1000);
|
||||||
|
|
||||||
// Bind a confirmation message when navigating away from a partially completed form.
|
// Bind a confirmation message when navigating away from a partially completed form.
|
||||||
|
@ -34,8 +34,5 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-preset-es2016": "^6.24.1",
|
"babel-preset-es2016": "^6.24.1",
|
||||||
"jquery": "^3.2.1"
|
"jquery": "^3.2.1"
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^6.x"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user