mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10271] Renamed an unhelpful variable name in core.js.
PHPBB3-10271
This commit is contained in:
parent
d1134f9a90
commit
eee0624a69
1 changed files with 4 additions and 4 deletions
|
@ -225,14 +225,14 @@ phpbb.parse_querystring = function(string) {
|
|||
* that was returned and (if it is a form) the form action.
|
||||
*/
|
||||
phpbb.ajaxify = function(options, refresh, callback) {
|
||||
var selector = $((typeof options === 'string') ? options : options.selector);
|
||||
var is_form = selector.is('form');
|
||||
var elements = $((typeof options === 'string') ? options : options.selector);
|
||||
var is_form = elements.is('form');
|
||||
if (is_form)
|
||||
{
|
||||
selector = selector.find('input:submit');
|
||||
elements = elements.find('input:submit');
|
||||
}
|
||||
|
||||
selector.click(function() {
|
||||
elements.click(function() {
|
||||
var action, data, path, that = this, $this = $(this);
|
||||
|
||||
if ($this.data('ajax') == false)
|
||||
|
|
Loading…
Add table
Reference in a new issue