Skip to content

Commit

Permalink
fix path to file.js
Browse files Browse the repository at this point in the history
  • Loading branch information
herbdool committed Nov 8, 2021
1 parent 8c8a440 commit 38e468f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inline_entity_form.module
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ function inline_entity_form_field_widget_form(&$form, &$form_state, $field, $ins
if (module_exists('file')) {
// file.js triggers uploads when the main Submit button is clicked.
$element['#attached']['js'] = array(
backdrop_get_path('module', 'file') . '/file.js',
backdrop_get_path('module', 'file') . '/js/file.js',
backdrop_get_path('module', 'inline_entity_form') . '/js/inline_entity_form.js',
);
}
Expand Down

0 comments on commit 38e468f

Please sign in to comment.