renamed autoform to ajaxform. All dependencies that use it are updated.

This commit is contained in:
scottjehl 2010-09-20 10:47:49 -04:00
parent 501171d913
commit 2cafd2dc00
5 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
<a href="index.html" class="ui-back" data-icon="arrow-l">Home</a>
</div>
<form method="get" action="_searchresult.html" data-role="autoform">
<form method="get" action="_searchresult.html" data-role="ajaxform">
<label for="term" data-role="nojs">Search:</label>
<input type="text" name="term" id="term" placeholder="search..." data-role="search" />
<button type="submit" data-role="nojs">Search</button>

View file

@ -14,7 +14,7 @@
<a href="index.html" class="ui-back" data-icon="arrow-l">Home</a>
</div>
<form method="get" action="_search-results.html" data-role="autoform">
<form method="get" action="_search-results.html" data-role="ajaxform">
<label for="term" data-role="nojs">Search:</label>
<input type="text" name="term" id="term" placeholder="search..." data-role="search" />
<button type="submit" data-role="nojs">Search</button>

View file

@ -1,5 +1,5 @@
/*
* jQuery Mobile Framework : "autoform" plugin
* jQuery Mobile Framework : "ajaxform" plugin
* Copyright (c) jQuery Project
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* Note: Code is in draft form and is subject to change
@ -13,7 +13,7 @@ $.formhandlers = {
}
};
$.fn.autoform = function(options){
$.fn.ajaxform = function(options){
return $(this).each(function(){
$this = $(this);

View file

@ -269,8 +269,8 @@
return false;
})
.find('.ui-btn-text').text(backBtnText);
//autoform plugin
$el.find('[data-role="autoform"]').autoform();
//ajaxform plugin
$el.find('[data-role="ajaxform"]').ajaxform();
//hide no-js content
$el.find('[data-role="nojs"]').addClass('ui-nojs');
$el.attr('data-mobilized',true);

View file

@ -10,7 +10,7 @@ $elements = array(
'jQuery.mobile.forms.expandable.js',
'jQuery.mobile.forms.textinput.js',
'jQuery.mobile.forms.select.js',
'jQuery.mobile.forms.autoform.js',
'jQuery.mobile.forms.ajaxform.js',
'jQuery.mobile.buttonMarkup.js',
'jQuery.mobile.forms.button.js',
'jQuery.mobile.collapsible.js',