Commit Graph

24 Commits

Author SHA1 Message Date
NightjarNZ
1d0c347d7f FIX correct userform reference & avoid submit errors
"Uncaught TypeError: Cannot read property 'data' of undefined
Was being reported when attempting to submit a form, which would
then trigger the "are you sure" functionality which should only
show when attempting to browse away from a page when changes to the
form have been made.
2019-03-24 14:35:19 +13:00
Robbie Averill
21813ef698 Rebuild dist files 2019-03-19 12:50:03 +13:00
Robbie Averill
808b6e7702 FIX Upgrade javascript dependencies and add babel-loader to ensure yarn build works 2019-03-18 12:06:40 +13:00
Loz Calver
23abafdef4 FIX: Multiple multi-page forms on one page 2019-01-18 14:37:01 +00:00
Robbie Averill
9f79218612 Merge branch '5.2'
# Conflicts:
  #	client/dist/styles/userforms-cms.css
  #	client/src/styles/userforms-cms.scss
2018-07-26 15:19:06 +12:00
Robbie Averill
7e91be9cb4 Merge branch '5.1' into 5.2 2018-07-26 15:17:22 +12:00
Nicholas Sorokin
d2ddaddede Replace class "Actions" with "btn-toolbar" 2018-07-02 17:04:14 +09:30
Daniel Hensby
f758ae3e03
Merge pull request #783 from SilverStripers/bugfix/grid-filter-errors 2018-06-20 10:02:15 +01:00
Raissa North
ed80e1c95b FIX Prevent form's toolbar from extending into the preview 2018-06-15 17:17:44 +12:00
Nivanka Fonseka
68a377b3ba updated the CSS, and fixed the colspan over the filters 2018-06-05 11:04:23 +05:30
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
Simon Erkelens
caab51122b Fix the each loop to propperly get the field passed in 2018-04-12 17:18:57 +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
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
Sacha Judd
75c4d25b8f NEW Add silverstripe-webpack config and move files to webpack friendly location 2017-08-21 11:12:25 +12:00