Using $(document).ready() works fine for the multi select if you're just looking to apply the Multiselect to select forms on the page. However, if you want to apply the multiselect to a popup form, or anything AJAXified, you're out of luck. Moving over to JavaScript Behaviors would allow this.

I'm willing to shoot up a patch shortly.

CommentFileSizeAuthor
#1 behav.patch2.91 KBrobloach

Comments

robloach’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new2.91 KB

There we go. Now the multiselect field can exist in a Popups API popup.

attheshow’s picture

Priority: Critical » Normal
floretan’s picture

Status: Needs review » Reviewed & tested by the community

I tested the patch and it works. The default user experience isn't affected in any way.

attheshow’s picture

Assigned: Unassigned » attheshow
Category: task » feature
Status: Reviewed & tested by the community » Fixed

Thanks! Just committed to dev version.

Status: Fixed » Closed (fixed)

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