summaryrefslogtreecommitdiffstats
path: root/core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php')
-rw-r--r--core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php b/core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php
index dde6bbe..4036a1f 100644
--- a/core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php
+++ b/core/modules/file/lib/Drupal/file/Controller/FileWidgetAjaxController.php
@@ -75,7 +75,7 @@ class FileWidgetAjaxController extends FormAjaxController {
$status_messages = array('#theme' => 'status_messages');
$form['#prefix'] .= drupal_render($status_messages);
$output = drupal_render($form);
- $js = drupal_add_js();
+ $js = _drupal_add_js();
$settings = drupal_merge_js_settings($js['settings']['data']);
$response = new AjaxResponse();