diff --git a/opentech/apply/funds/static/address_form.js b/opentech/apply/funds/static/address_form.js index 5ca7707531f1f0b0f360539a4d503e6411853940..4005adafda1e04b3cbc5020249ac856171b7ebaf 100644 --- a/opentech/apply/funds/static/address_form.js +++ b/opentech/apply/funds/static/address_form.js @@ -1,10 +1,5 @@ (function ($) { - // On document ready, instantiate the plugin. $(document).ready(function formReady() { - // Initialize jquery.validate (optional). - // $('#address-example').validate({}); - - // Initialize jquery.addressfield. $('.form div.address').addressfield({ json: '/static/addressfield.min.json', fields: { diff --git a/opentech/apply/funds/widgets.py b/opentech/apply/funds/widgets.py index 4a08d10c81578be888739bdf74050b799ea92776..a9cda6fc7aff245d9ccc0947e89db58630cbf348 100644 --- a/opentech/apply/funds/widgets.py +++ b/opentech/apply/funds/widgets.py @@ -42,7 +42,6 @@ class NestedMultiWidget(KeepOwnAttrsWidget, forms.MultiWidget): } - class LocalityWidget(NestedMultiWidget): components = { 'localityname': KeepAttrsTextInput, @@ -51,7 +50,6 @@ class LocalityWidget(NestedMultiWidget): } - class AddressWidget(NestedMultiWidget): components = { 'country': CountrySelectWithChoices,