diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/admin/extra-metadata-form.html | 2 | ||||
-rw-r--r-- | templates/web/base/common_header_tags.html | 2 | ||||
-rw-r--r-- | templates/web/base/common_scripts.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/base/admin/extra-metadata-form.html b/templates/web/base/admin/extra-metadata-form.html index 9264d98d9..4fc5d8e3f 100644 --- a/templates/web/base/admin/extra-metadata-form.html +++ b/templates/web/base/admin/extra-metadata-form.html @@ -12,7 +12,7 @@ <div class="admin-hint"><p>[% loc('Whether the field is displayed to the user, included as a hidden field and automatically populated, or set by the server upon Open311 submission. This field is usually set automatically.') %]</p></div> <label> [% loc('Automated') %] - <select name="metadata[[% loop.index %]].automated" data-field-name="automated" class="js-metadata-item-type"> + <select name="metadata[[% loop.index %]].automated" data-field-name="automated"> <option value="" [% meta.automated == '' ? 'selected' : '' %]></option> <option value="server_set" [% meta.automated == 'server_set' ? 'selected' : '' %]>[% loc('Server Set') %]</option> <option value="hidden_field" [% meta.automated == 'hidden_field' ? 'selected' : '' %]>[% loc('Hidden Field') %]</option> diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html index 21081246d..e29d96655 100644 --- a/templates/web/base/common_header_tags.html +++ b/templates/web/base/common_header_tags.html @@ -38,7 +38,7 @@ <link rel="prefetch" href="[% version('/cobrands/fixmystreet/fixmystreet.js') %]"> [% END %] [% IF NOT bodyclass.match('mappage') %] - [% FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra', c)) %] + [% FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra')) %] <link rel="prefetch" href="[% IF script.match('^/'); version(script); ELSE; script; END %]"> [% END %] <link rel="prefetch" href="[% version('/cobrands/fixmystreet/map.js') %]"> diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html index ac66aad46..fd7011763 100644 --- a/templates/web/base/common_scripts.html +++ b/templates/web/base/common_scripts.html @@ -47,7 +47,7 @@ IF c.user_exists AND (c.user.from_body OR c.user.is_superuser); END; IF bodyclass.match('mappage'); - FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra', c)); + FOR script IN map_js.merge(c.cobrand.call_hook('map_js_extra')); IF script.match('^/'); scripts.push(version(script)); ELSE; |