If the list of possible items is very long, and you have only one selected item, the selected item is *invisible* about half of the time on Safari.

It's there alright (if you submit the form, the value does get stored), but you can't see it.

Adding the following bit of lunacy solves the issue :

  //on safari, the items in the selected box items wind up "invisible"
  //about 50% of the time.  this little piece of madness fixes this.
  if(jQuery.browser.safari) {
	  $('select.multiselect_sel').each(function()
	  {
	    selclass = '.' + this.id + '_sel';
	    $(selclass).moveSelectionTo($(selclass));
	  });
	  
	  $('select.multiselect_sel').selectAll();
  }

Comments

attheshow’s picture

Status: Active » Closed (fixed)

Unable to duplicate this issue.