Skip to content

Move bulk of JS into its own file

brienne requested to merge brienne/pricesetvisibility:js_file into master

Instead of using Civi::resources()->addScript within Contribute/Form/Contribution/Main.php for 100+ lines of JavaScript, this PR moves the JS into its own file and updates the call in Main.php to addScriptFile.

Merge request reports

Loading