diff options
Diffstat (limited to 'ishtar_common/widgets.py')
| -rw-r--r-- | ishtar_common/widgets.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 79c0513c0..eb68bac2e 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -135,8 +135,8 @@ class Select2Multiple(forms.SelectMultiple):              else:                  options = "{"              options += "     containerCssClass: 'full-width'}" -        html = super(Select2Multiple, self).render(name, value, attrs, -                                                   choices) +        self.choices = choices +        html = super(Select2Multiple, self).render(name, value, attrs)          html += """<script type="text/javascript">          $(document).ready(function() {{              $("#id_{}").select2({}); | 
