diff options
Diffstat (limited to 'chimere/widgets.py')
| -rw-r--r-- | chimere/widgets.py | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/chimere/widgets.py b/chimere/widgets.py index e7d104a..ea3fe16 100644 --- a/chimere/widgets.py +++ b/chimere/widgets.py @@ -249,10 +249,10 @@ class PointChooserWidget(forms.TextInput):      """      class Media:          css = { -            "all": settings.OSM_CSS_URLS + \ +            "all": settings.MAP_CSS_URLS + \                     ["%schimere/css/forms.css" % settings.STATIC_URL,]          } -        js = settings.OSM_JS_URLS + list(settings.JQUERY_JS_URLS) + \ +        js = settings.MAP_JS_URLS + list(settings.JQUERY_JS_URLS) + \               ["%schimere/js/jquery.chimere.js" % settings.STATIC_URL]      def render(self, name, value, attrs=None, area_name='', initialized=True): @@ -331,10 +331,10 @@ class RouteChooserWidget(forms.TextInput):      Manage the edition of route on a map      """      class Media: -        css = {"all": settings.OSM_CSS_URLS + \ +        css = {"all": settings.MAP_CSS_URLS + \                        ["%schimere/css/forms.css" % settings.STATIC_URL,]          } -        js = settings.OSM_JS_URLS + list(settings.JQUERY_JS_URLS) + \ +        js = settings.MAP_JS_URLS + list(settings.JQUERY_JS_URLS) + \               ["%schimere/js/jquery.chimere.js" % settings.STATIC_URL,                "%schimere/js/edit_route_map.js" % settings.STATIC_URL,                "%schimere/js/base.js" % settings.STATIC_URL,] @@ -468,10 +468,10 @@ class AreaWidget(forms.TextInput):      """      class Media:          css = { -            "all": settings.OSM_CSS_URLS + \ +            "all": settings.MAP_CSS_URLS + \                     ["%schimere/css/forms.css" % settings.STATIC_URL,]          } -        js = settings.OSM_JS_URLS + [ +        js = settings.MAP_JS_URLS + [                "%schimere/js/edit_area.js" % settings.STATIC_URL,                "%schimere/js/base.js" % settings.STATIC_URL,] @@ -567,10 +567,10 @@ class ImportFiltrWidget(AreaWidget):      """      class Media:          css = { -            "all": settings.OSM_CSS_URLS + \ +            "all": settings.MAP_CSS_URLS + \                     ["%schimere/css/forms.css" % settings.STATIC_URL,]          } -        js = settings.OSM_JS_URLS + [ +        js = settings.MAP_JS_URLS + [                "%schimere/js/edit_area.js" % settings.STATIC_URL,                "%schimere/js/base.js" % settings.STATIC_URL,] | 
