app/assets/javascripts/decidim/proposals/admin/proposals_form.js.es6 in decidim-proposals-0.22.0 vs app/assets/javascripts/decidim/proposals/admin/proposals_form.js.es6 in decidim-proposals-0.23.0
- old
+ new
@@ -1,6 +1,8 @@
$(() => {
+ const { attachGeocoding } = window.Decidim;
+
const $form = $(".proposal_form_admin");
if ($form.length > 0) {
const $proposalCreatedInMeeting = $form.find("#proposal_created_in_meeting");
const $proposalMeeting = $form.find("#proposal_meeting");
@@ -17,7 +19,8 @@
};
$proposalCreatedInMeeting.on("change", toggleDisabledHiddenFields);
toggleDisabledHiddenFields();
+ attachGeocoding($form.find("#proposal_address"));
}
});