Skip to content

Commit

Permalink
Fix issues with JS update
Browse files Browse the repository at this point in the history
- Nested one field failed to open
- bootstrap-datetimepicker also needs update
- Prefer unminified version of moment.js
  • Loading branch information
mshibuya committed Apr 4, 2021
1 parent 973dee0 commit 7962a19
Show file tree
Hide file tree
Showing 3 changed files with 18,403 additions and 152 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/rails_admin/ra.widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
field.find('> .controls .add_nested_fields').removeClass('add_nested_fields').text($(this).children('.object-infos').data('object-label'));
nav.append(
$('<li></li>').append(
$('<a></a>').attr('data-toggle', 'tab').attr('href', '#' + this.id).text($(this).children('.object-infos').data('object-label'))
$('<a></a>').attr('data-toggle', 'tab').attr('href', '#' + $(this).id).text($(this).children('.object-infos').data('object-label'))
)
);
});
Expand Down
Loading

0 comments on commit 7962a19

Please sign in to comment.