Permalink
Switch branches/tags
Nothing to show
Commits on Sep 12, 2012
  1. README: use literal objects for clarity, emphasize string-ness of wha…

    cvrebert committed Sep 12, 2012
    …t becomes the value of the <option>
  2. improve grammar in README

    cvrebert committed Sep 12, 2012
Commits on Sep 5, 2012
  1. Merge pull request #41 from ApmeM/master

    meltingice committed Sep 5, 2012
    Add <optgroup> functionality to ajax-chosen
  2. Merge pull request #40 from ApmeM/f5d374584cad5c7732b8571ca65a2aa23c7…

    meltingice committed Sep 5, 2012
    …1b589
    
    [FIX] invalid jquery ajax method description
  3. [FIX] options group behaviour

    ApmeM committed Sep 5, 2012
  4. [ADD] optgroup functionality

    ApmeM committed Sep 5, 2012
Commits on Aug 9, 2012
  1. Merge pull request #31 from sduck/master

    meltingice committed Aug 9, 2012
    Support for setting standard chosen options
Commits on Jul 12, 2012
  1. Don't trim typed input so that user's typing is not disrupted

    Danny Olson & Yan Pritzker
    Danny Olson & Yan Pritzker committed Jul 12, 2012
    If the user types 'foo ' with a space, and the ajax call comes back
    successfully, it replaces the 'foo ' with 'foo' (trimmed).
    
    This causes inconsistent user experience as the user may have simply
    paused while typing a space, and the space is then removed, mangling
    his input. Note that this fix simply avoids trimming the user's visual
    input, while still sending a trimmed value to the server.
Commits on Jun 19, 2012
Commits on Jun 16, 2012
  1. Compiled updates

    meltingice committed Jun 16, 2012
Commits on Jun 6, 2012
  1. Enable callback to modify data array before sending request, in case …

    shadyvb committed Jun 6, 2012
    …we need to alter the data on each request eg: dependent selects.
Commits on May 23, 2012
Commits on Apr 25, 2012
  1. Fairly small tweak to add support for passing args as data attributes on

    benlumley committed Apr 25, 2012
    the select.
    
    eg:
    
    <select data-url="http://callbackurl">
    
    Works well/saves effort when the urls may change and so have to be parsed out of the
    dom somehow.
Commits on Apr 12, 2012
Commits on Apr 9, 2012
Commits on Apr 5, 2012
  1. Recompiled to JS

    meltingice committed Apr 5, 2012
  2. Merge pull request #25 from pjbeardsley/master

    meltingice committed Apr 5, 2012
    IE compatibility issue with Javascript .indexOf() function
Commits on Apr 4, 2012
  1. Fixed IE compatibility issue with Javascript .indexOf() function—repl…

    Peter Beardsley
    Peter Beardsley committed Apr 4, 2012
    …aced with jQuery.inArray().
Commits on Mar 13, 2012
  1. Documentation update

    meltingice committed Mar 13, 2012
  2. Includes changes from @digidanny #17 and uses 'each' so multiple chos…

    mikejolley committed Mar 13, 2012
    …en elements work independently. Closes #21.
    
    Needed elements to work independently to work with WooCommerce.
Commits on Mar 9, 2012
  1. Fix text timing bugs

    meltingice committed Mar 9, 2012
  2. Merge branch 'timingbugs' of https://github.com/digidanny/ajax-chosen

    meltingice committed Mar 9, 2012
    …into digidanny-timingbugs
  3. Merge branch 'refactorMultiSingle' of https://github.com/digidanny/aj…

    meltingice committed Mar 9, 2012
    …ax-chosen into digidanny-refactorMultiSingle
  4. Fixing input resize bug

    meltingice committed Mar 9, 2012
Commits on Mar 8, 2012
  1. Refactoring multi/single select.

    digidanny committed Mar 8, 2012
    You can get rid of that whole bottom section by adding a second selector
    to your find method.
  2. Rearranging logic to deal with timing bugs.

    digidanny committed Mar 8, 2012
    Previously there was a bug that could be reproduced by selecting typing
    something very quickly, selecting all of the text and then deleting it.
    A few moments later, the previous value would magically re-appear in the
    text box.
    
    This occured, because we were checking for minTermLength before
    clearing the timer.  So the method was returning false b/c of query
    length before the timer could be cleared.
    
    Theoretically if the input text value has changed from prevValue, the
    previous query request is invalid, so it should be cleared.  I moved
    this logic nearer to the top of the function and checked for the minTermLength
    further down, after the timer has already been cleared.