Move JS form initialization to factory
Closed, ResolvedPublic2 Story Points


Move the inline JavaScript code to a factory that does the initialization and that is a little bit more modular and can accept different HTML configurations in case the HTML of the form changes. Instead of exposing all our classes in app/js/lib the global WMDE object would only expose the factory methods.

Also, it helps preparing for CSP compliance.

Related Objects

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 7 2016, 2:40 PM
Lea_WMDE moved this task from Incoming to WMDE Fundraising on the TCB-Team board.Jun 8 2016, 3:04 PM
gabriel-wmde closed this task as Resolved.Apr 7 2017, 8:21 AM
gabriel-wmde claimed this task.

Initiatlization is now done in donation_form.js and membership_form.js

Restricted Application added a project: WMDE-FUN-Team. · View Herald TranscriptApr 7 2017, 8:21 AM