mirror of
https://github.com/processwire/processwire.git
synced 2025-08-23 06:44:38 +02:00
Bump version to 3.0.114
This commit is contained in:
@@ -219,7 +219,7 @@ function InputfieldRepeater($) {
|
||||
var pageID = $repeater.attr('data-page'); // $("#Inputfield_id").val();
|
||||
var itemID = parseInt($item.attr('data-page'));
|
||||
var repeaterID = $repeater.attr('id');
|
||||
var fieldName = repeaterID.replace('wrap_Inputfield_', '');
|
||||
var fieldName = repeaterID.replace('wrap_Inputfield_', '').replace('_LPID' + pageID, '');
|
||||
var ajaxURL = ProcessWire.config.InputfieldRepeater.editorUrl + '?id=' + pageID + '&field=' + fieldName + '&repeater_edit=' + itemID;
|
||||
var $spinner = $item.find('.InputfieldRepeaterDrag');
|
||||
var $inputfields = $loaded.closest('.Inputfields');
|
||||
@@ -228,7 +228,7 @@ function InputfieldRepeater($) {
|
||||
if($repeater.hasClass('InputfieldNoDraft')) ajaxURL += '&nodraft=1';
|
||||
|
||||
$spinner.removeClass('fa-arrows').addClass('fa-spin fa-spinner');
|
||||
repeaterID = repeaterID.replace(/_repeater\d+$/, '');
|
||||
repeaterID = repeaterID.replace(/_repeater\d+$/, '').replace('_LPID' + pageID, '');
|
||||
|
||||
$.get(ajaxURL, function(data) {
|
||||
var $inputs = $(data).find('#' + repeaterID + ' > ' +
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user