Skip to content

Commit

Permalink
react
Browse files Browse the repository at this point in the history
  • Loading branch information
MeiKatz committed Aug 27, 2020
1 parent 1407c40 commit 4989c5c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions js/secdor-app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions src/class-groups-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,17 @@ public static function admin_scripts( $hook ) {
true
);

wp_enqueue_script(
"secdor-app",
plugins_url(
"/js/secdor-app.js",
SECDOR_PLUGIN_ENTRYPOINT
),
array(),
$version,
true
);

wp_localize_script( 'group-editor', 'secdor_group_editor_settings', array_merge( array( 'pluginUrl' => plugins_url( "", SECDOR_PLUGIN_ENTRYPOINT ) ), self::group_editor_i10n() ) );

// Hierarchical permissions editor script
Expand Down

0 comments on commit 4989c5c

Please sign in to comment.