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:
Will Rossiter 2017-09-26 14:26:00 +13:00 committed by GitHub
commit c17b5b011b
3 changed files with 2 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -724,7 +724,7 @@ $(document).ready(() => {
// Make sure the form doesn't expire on the user. Pings every 3 mins.
setInterval(() => {
$.ajax({ url: 'UserDefinedForm_Controller/ping' });
$.ajax({ url: 'UserDefinedFormController/ping' });
}, 180 * 1000);
// Bind a confirmation message when navigating away from a partially completed form.

View File

@ -34,8 +34,5 @@
"dependencies": {
"babel-preset-es2016": "^6.24.1",
"jquery": "^3.2.1"
},
"engines": {
"node": "^6.x"
}
}