mirror of
https://github.com/processwire/processwire.git
synced 2025-08-06 23:06:59 +02:00
Fix issue processwire/processwire-issues#1962
This commit is contained in:
@@ -426,7 +426,9 @@ function InputfieldRepeater($) {
|
||||
if($repeater.hasClass('InputfieldNoDraft')) ajaxURL += '&nodraft=1';
|
||||
if(pageVersion) ajaxURL += '&version=' + pageVersion;
|
||||
|
||||
$spinner.removeClass('fa-arrows').addClass('fa-spin fa-spinner');
|
||||
var iconName = $item.attr('data-icon');
|
||||
if(typeof iconName === 'undefined' || !iconName) iconName = 'fa-arrows';
|
||||
$spinner.removeClass(iconName).addClass('fa-spin fa-spinner');
|
||||
repeaterID = repeaterID.replace(/_repeater\d+$/, '').replace('_LPID' + pageID, '');
|
||||
|
||||
if(typeof contextStr !== 'undefined' && contextStr.length) {
|
||||
@@ -454,7 +456,7 @@ function InputfieldRepeater($) {
|
||||
}
|
||||
|
||||
$content.slideDown('fast', function() {
|
||||
$spinner.removeClass('fa-spin fa-spinner').addClass('fa-arrows');
|
||||
$spinner.removeClass('fa-spin fa-spinner').addClass(iconName);
|
||||
updateAccordion($item);
|
||||
});
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user