mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX: editable fields list is an object in JSON
JSON output transformed array into object.
This commit is contained in:
parent
fe8e41aa40
commit
c916d6ac12
@ -27,8 +27,8 @@ jQuery(document).ready(function(){
|
||||
'<input type="hidden" name="record_{%=file.record.ID%}_ID" value="{%=file.record.ID%}"/>'+
|
||||
'<img class="imgPreview" src="{%=file.preview_url%}" />'+
|
||||
|
||||
'{% for (var j=0; j<file.record.fields.length; j++) { %}' +
|
||||
'{%#file.record.fields[j]%}' +
|
||||
'{% for (var key in file.record.fields) { %}' +
|
||||
'{%#file.record.fields[key]%}' +
|
||||
'{% } %}' +
|
||||
|
||||
'</form>'+
|
||||
|
Loading…
Reference in New Issue
Block a user