Permalink
Switch branches/tags
Nothing to show
Commits on Feb 13, 2011
Commits on Feb 5, 2011
Commits on Nov 13, 2010
  1. fix `data-method` with IE

    nostef committed with mislav Nov 13, 2010
Commits on Oct 21, 2010
  1. documentation

    mislav committed Oct 21, 2010
Commits on Oct 19, 2010
  1. fix "data-confirm", "data-remote" not working reliably in IE

    Refactored "data-confirm", "data-remote" and "data-method" handling on
    forms and links not to rely on specific event handler ordering.
    
    The issue manifested in IE as double confirmation dialogs on forms and
    executing Ajax request regardless of confirmation outcome.
    
    Closes #3
    mislav committed Oct 19, 2010
  2. improve "data-disable-with" functionality

    Make sure that ajax events which trigger disabling form buttons
    really do originate from the form itself and not from any of its
    descendants.
    mislav committed Oct 19, 2010
Commits on Oct 7, 2010
  1. "data-disable-with": delay disabling until after the form has been se…

    …rialized
    
    this is to enable using "data-disable-with" on submit buttons which are relevant for serialization
    mislav committed Oct 7, 2010
  2. fix re-enabling disabled form elements after "data-remote" requests

    do this on "ajax:complete" instead of "ajax:after", which fires just after
    the ajax requests has been initiated (which is too soon)
    mislav committed Oct 7, 2010
  3. fire the "ajax:create" event as part of the "data-remote" functionality

    this event is useful for modifying the request; e.g. adding HTTP headers
    mislav committed Oct 7, 2010
Commits on Sep 29, 2010
  1. extend submit button detection to button elements without type

    type="submit" is implicit for button elements
    mislav committed Sep 29, 2010
Commits on Sep 28, 2010
  1. save submit-button for form submit via button tags

    Signed-off-by: Joel Nimety <jnimety@continuity.net>
    jnimety committed Sep 28, 2010
Commits on Sep 2, 2010
  1. fix typo in "textarea"

    closes #1
    victor-homyakov committed with mislav Sep 2, 2010
Commits on Aug 16, 2010
Commits on Jul 6, 2010
  1. add missing semicolons

    mislav committed Jul 6, 2010
Commits on Jun 9, 2010
  1. monkeypatch `Element#on()` to emulate "submit" and "change" bubbling

    Fixes the inability to globally observe form submits in Internet Explorer.
    Doesn't affect the `observe()` method.
    mislav committed Jun 9, 2010
  2. only fire custom events for onComplete, onSuccess and onFailure

    "loaded" and "interactive" phases are brittle across browsers and
    "loading" phase is of little use when we fire "ajax:before"
    mislav committed Jun 9, 2010
Commits on May 17, 2010
  1. return if ajax:before was stopped

    josh committed May 17, 2010
  2. Revert "Merge remote branch 'brianmario/master'"

    This reverts commit 5920e9b, reversing
    changes made to a3b7a1d.
    josh committed May 17, 2010
  3. Merge remote branch 'brianmario/master'

    Conflicts:
    	src/rails.js
    josh committed May 17, 2010
  4. move the triggering of the ajax:before event to allow the caller to m…

    …odify the DOM before the form is serialized
    
    also skip everything early on if the event was stopped
    brianmario committed May 17, 2010
  5. move the triggering of the ajax:before event to allow the caller to m…

    …odify the DOM before the form is serialized
    brianmario committed with josh May 17, 2010
Commits on Apr 26, 2010
  1. Use insert instead of appendChild

    josh committed Apr 26, 2010
  2. Use new event api

    josh committed Apr 26, 2010
Commits on Apr 13, 2010
  1. Use strict equality comparison.

    kangax committed with josh Apr 13, 2010
  2. `token_name` is not used, delete it;

    `token` is declared twice, remove one of them;
    Do not predeclare variables (better compression).
    kangax committed with josh Apr 13, 2010