File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9191# Add plugins required for forms (not auto-included)
9292# Assets will be preprended to any existing entry in PLUGINS['forms']
9393_forms_js = ['leaflet/draw/leaflet.draw.js' ,
94- 'leaflet/leaflet.extras.js' ,
9594 'leaflet/leaflet.forms.js' ]
9695if SRID :
9796 _forms_js += ['leaflet/proj4.js' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ def media(self):
2525
2626 # We assume that including media for widget means there is
2727 # no Leaflet at all in the page.
28- js = ['leaflet/leaflet.js' ] + PLUGINS [PLUGIN_FORMS ]['js' ]
28+ js = [
29+ 'leaflet/leaflet.js' ,
30+ 'leaflet/leaflet.extras.js' ,
31+ * PLUGINS [PLUGIN_FORMS ]['js' ],
32+ ]
2933 css = ['leaflet/leaflet.css' ] + PLUGINS [PLUGIN_FORMS ]['css' ]
3034 return forms .Media (js = js , css = {'screen' : css })
3135
You can’t perform that action at this time.
0 commit comments