Minor
This commit is contained in:
parent
41fd35e6bf
commit
12a7e7776b
|
|
@ -161,8 +161,8 @@ if (window.jQuery === undefined)
|
||||||
var selector = (options.update[partial]) ? options.update[partial] : partial
|
var selector = (options.update[partial]) ? options.update[partial] : partial
|
||||||
if (jQuery.type(selector) == 'string' && selector.charAt(0) == '@') {
|
if (jQuery.type(selector) == 'string' && selector.charAt(0) == '@') {
|
||||||
$(selector.substring(1)).append(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR])
|
$(selector.substring(1)).append(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR])
|
||||||
} else if(jQuery.type(selector) == 'string' && selector.charAt(0) == '^'){
|
} else if (jQuery.type(selector) == 'string' && selector.charAt(0) == '^') {
|
||||||
$(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]);
|
$(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR])
|
||||||
} else
|
} else
|
||||||
$(selector).html(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR])
|
$(selector).html(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR])
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue