mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-30 01:44:43 +00:00
do not replace dashes on the selector variable
This commit is contained in:
parent
8d76a61791
commit
1b57be5cd5
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ class AutoHeavySelect2Mixin(object):
|
|||
''' % (fieldset_id)
|
||||
js += super(AutoHeavySelect2Mixin, self).render_inner_js_code(id_.replace('-', '_'), *args)
|
||||
js += '};'
|
||||
js += 'django_select2.%s("%s", "%s");' % (fieldset_id, id_.replace('-', '_'), self.field_id)
|
||||
js += 'django_select2.%s("%s", "%s");' % (fieldset_id, id_, self.field_id)
|
||||
return js
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue