Commit Graph

19 Commits

Author SHA1 Message Date
Shenghan Chen
33044ac917 FIX #759: Enable navigating to former pages via page number button in multi-page userforms.
FIX #759: build distributed version of js

FIX #759

Enable navigating to former pages via page number button in multi-page userforms.
2018-05-21 00:18:16 +12:00
Robbie Averill
75cac87ce4 Merge branch '5.0' into 5.1 2018-04-12 18:10:50 +12:00
Simon Erkelens
caab51122b Fix the each loop to propperly get the field passed in 2018-04-12 17:18:57 +12:00
Dylan
d9337c8016 Update translations 2018-04-04 10:17:01 +12:00
Robbie Averill
4e285c4142 FIX Re-enable step progress and navigation for multi page forms 2018-03-21 11:33:19 +13:00
Dylan Wagstaff
46460c0e7c FIX Enhance JS for multiple userform instances (#715)
After testing it seems that having multiple user defined forms on a page
has already been added as a feature. However various load time dynamically
generated javascript segments had not been adapted to suit. Now they
have.

Also fixed a variable that no longer exists in the external requirements
from preventing a webpack build.
2018-02-12 16:56:36 +13:00
Raissa North
6cd679e2b9 FIX Add missing single quote in UserForms.js 2018-01-10 16:48:10 +13:00
Dylan Wagstaff
7f208ee927 FIX javascript errors enacting default functionality
Mostly to do with translations, however the errors meant the front end
forms largely didn't work at all. Some of this was to do with the scoping
of `this` in es6 arrow functions, compared to the legacy code with entwine
that uses the fuller `function` definition. Reinstate missing dependency
for translations to function too.
2017-11-20 15:16:03 +13:00
Robbie Averill
92626e1a7c FIX Update webpack config version, add eslint-loader and rebuild CSS dist files 2017-10-27 09:59:46 +13:00
Robbie Averill
9804966257 Merge branch '4' 2017-10-06 10:36:10 +13:00
Robbie Averill
8e9da3f97d FIX Use correct controller name for ping AJAX request 2017-09-26 14:15:19 +13:00
Robbie Averill
8fdde27ecb Merge branch 'sebastiand-master' 2017-09-26 13:49:09 +13:00
Sacha Judd
bd955d7274 NEW Remove class hidden-on-hover and update styles for userforms ss4 2017-09-06 14:23:34 +12:00
Robbie Averill
1bbc473ed7 FIX Update namespaces in Javascript and CSS, fix some Entwine bindings 2017-08-24 15:14:39 +12:00
Robbie Averill
d3d2ae591f FIX Re-implement jquery validate localisation, move thirdparty JS libs to client dir 2017-08-22 16:40:17 +12:00
Sacha Judd
51631a167a NEW Add sass-lint configuration and refactor. Refactor JS for AirBnB ES6 syntax 2017-08-22 12:08:08 +12:00
Robbie Averill
c8698d99bd Merge branch '4' 2017-08-22 10:44:04 +12:00
Robbie Averill
8d4cd036f7 Merge branch '4' 2017-08-21 15:39:05 +12:00
Sacha Judd
75c4d25b8f NEW Add silverstripe-webpack config and move files to webpack friendly location 2017-08-21 11:12:25 +12:00