fix admin js dependencies

This commit is contained in:
Leo Germani 2018-04-27 16:26:07 -03:00
parent 3c35bf1350
commit eef44e0514
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Admin {
function add_admin_js() { function add_admin_js() {
global $TAINACAN_BASE_URL; global $TAINACAN_BASE_URL;
wp_enqueue_script( 'tainacan-user-admin', $TAINACAN_BASE_URL . '/assets/user_admin-components.js', [], null, true ); wp_enqueue_script( 'tainacan-user-admin', $TAINACAN_BASE_URL . '/assets/user_admin-components.js', ['underscore', 'media-editor', 'media-views', 'customize-controls'], null, true );
$settings = $this->get_admin_js_localization_params(); $settings = $this->get_admin_js_localization_params();