Skip to content

Commit

Permalink
do not support 'data-url' anymore, just use 'href' [#4236 state:resol…
Browse files Browse the repository at this point in the history
…ved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
smartinez87 authored and josevalim committed Mar 21, 2010
1 parent 8b50f89 commit 0137566
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -15,8 +15,7 @@ document.observe("dom:loaded", function() {
params = element.serialize(true);
} else {
method = element.readAttribute('data-method') || 'get';
// TODO: data-url support is going away, just use href
url = element.readAttribute('data-url') || element.readAttribute('href');
url = element.readAttribute('href');
params = {};
}

Expand Down

0 comments on commit 0137566

Please sign in to comment.