On mobile device i have got a error.
Uncaught TypeError: Cannot read property 'container' of undefined

Because chosen module add class chosen-processed to all selects and chosen plugin disable chosen on mobile, property is undefined. CV should check

if(typeof(chosen) !== 'undefined' && !chosen.container.is(':hidden')) {
              options.ignore = fixIgnore(options.ignore, $select.attr('id'));
            }
CommentFileSizeAuthor
#2 check_chosen_existence-2857037-2.patch554 bytesshevchess

Comments

lamp5 created an issue. See original summary.

shevchess’s picture

StatusFileSize
new554 bytes

Created a patch based on lamp5's suggestion.

shevchess’s picture

Status: Active » Needs review
smurfxx’s picture

Patch works for me!

jjsanz’s picture

Patch works for me too.

lamp5’s picture

Version: 7.x-1.44 » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

nikunjkotecha’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.