Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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