Commits

Mark Lavin  committed 326bd3c Merge

Merged in dc/django-selectable/default (pull request #12)

  • Participants
  • Parent commits e005dc5, b561bde
  • Branches stable

Comments (0)

Files changed (1)

File selectable/static/selectable/js/jquery.dj.selectable.js

                 if (self.allowMultiple) {
                     $(input).val("");
                     $(input).data("autocomplete").term = "";
-                    if ($(self.hiddenMultipleSelector + '[value=' + item.id + ']').length === 0) {
+                    if ($(self.hiddenMultipleSelector + '[value="' + item.id + '"]').length === 0) {
                         var newInput = $('<input />', {
                             'type': 'hidden',
                             'name': self.hiddenName,