Skip to content

Commit 7962a19

Browse files
committed
Fix issues with JS update
- Nested one field failed to open - bootstrap-datetimepicker also needs update - Prefer unminified version of moment.js
1 parent 973dee0 commit 7962a19

3 files changed

Lines changed: 18403 additions & 152 deletions

File tree

app/assets/javascripts/rails_admin/ra.widgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
field.find('> .controls .add_nested_fields').removeClass('add_nested_fields').text($(this).children('.object-infos').data('object-label'));
173173
nav.append(
174174
$('<li></li>').append(
175-
$('<a></a>').attr('data-toggle', 'tab').attr('href', '#' + this.id).text($(this).children('.object-infos').data('object-label'))
175+
$('<a></a>').attr('data-toggle', 'tab').attr('href', '#' + $(this).id).text($(this).children('.object-infos').data('object-label'))
176176
)
177177
);
178178
});

0 commit comments

Comments
 (0)