Commit History

Автор SHA1 Съобщение Дата
  Igor Vaynberg f06aae38fb better handling of tags that are not just strings. fixes #256 преди 13 години
  Igor Vaynberg 116528908a clean up val. now it only accepts ids and only when initselection is set преди 13 години
  Dean Sofer ad8fd257aa Added truth checks to avoid unnecessarily firing initSelection. преди 13 години
  Dean Sofer d54fd4dd0e Passing a string to select2('val') with initSelection causes it to be used. преди 13 години
  Igor Vaynberg b672d760ac allow a custom function for computing the width. fixes #252 преди 13 години
  Igor Vaynberg 3fc1bc6f35 focus select2 on a click to a related label. fixes #198 преди 13 години
  Igor Vaynberg 37ff4bbf36 added close event. fixes #246 преди 13 години
  Igor Vaynberg 33fd9dc810 another tweak for positioning of dropdown and scrollbars. fixes #228 again преди 13 години
  Igor Vaynberg 0d5be21e09 fix bug with determing the width. fixes #242 преди 13 години
  Igor Vaynberg a718dc45a0 fix multiselects in IEs. fixes #241 преди 13 години
  Igor Vaynberg 1771c3ba61 fix bug where space was ignored in single selects. fixes #233 преди 13 години
  Igor Vaynberg 1fc09825ed tweak dropdown position. fixes #228 преди 13 години
  Igor Vaynberg 96c0166535 more flexible width strategies. fixes #237 преди 13 години
  Kevin Miller 17ffe5772e container receives width style when hidden input has one or via opt преди 13 години
  Igor Vaynberg 6c330eb53b fixes IE8 bug where the dropdown wouldnt open. it would actually open and close immediately because the body would get a focusin event even after the focus was set on the search field by select2. worked fine in IE9 преди 13 години
  Igor Vaynberg 633a6dc901 mark elements as selected when closeOnSelect is false so they cannot be selected again. fixes #229 преди 13 години
  Igor Vaynberg ad9fac45ae make sure data() returns null instead of undefined when unset. this will prevent chaining which may seem weid. fixes #230 преди 13 години
  Igor Vaynberg de0d11a82b position the dropdown after hiding selected elements so when above it doesnt float away from the control преди 13 години
  Igor Vaynberg 39aa17a790 fixed above/below dropdown opening bug преди 13 години
  Igor Vaynberg 3a830a2b81 make the option element available to the matcher function when attached to select. can be used to match on option attributes as well as option text. fixes #227 преди 13 години
  Igor Vaynberg b731545eea Merge pull request #223 from malekpour/master преди 13 години
  Igor Vaynberg 33e8e20159 optimize global mousemove listener преди 13 години
  Igor Vaynberg 0aea42fe42 give the sizer a higher offset just in case its on a highres screen преди 13 години
  Igor Vaynberg 7947803df4 delay finding the body until it is needed and cache it. преди 13 години
  Ali Malrkpour 01faae3ff7 fix updateResults prevention if dropdown is closed преди 13 години
  Igor Vaynberg 3ed2cc091a fixed dropdown alignment in firefox. still need to test IE. #214 преди 13 години
  Igor Vaynberg 69758f0b71 added a little animation for removed multiselect choices преди 13 години
  Igor Vaynberg 0c4888c6ef expose plugin defaults to make configuration easier. fixes #199 преди 13 години
  Igor Vaynberg c17336d1ac rename tagSeparator to separator. #191 преди 13 години
  Grzegorz Kaczan 5aae33d789 Add the ability to specify custom tags separator. преди 13 години