Skip to content

Commit

Permalink
Fixed double dots in JS name
Browse files Browse the repository at this point in the history
Fixes failure to load the JS in admin page
  • Loading branch information
Rakhmanov authored and dwainm committed Jun 26, 2015
1 parent e12dfda commit c9f0821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/class-sensei-modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1314,8 +1314,8 @@ public function admin_enqueue_scripts ( $hook ) {

$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';

wp_enqueue_script('sensei-chosen', Sensei()->plugin_url . 'assets/chosen/chosen.jquery.' . $suffix . '.js', array('jquery'), Sensei()->version , true);
wp_enqueue_script('sensei-chosen-ajax', Sensei()->plugin_url . 'assets/chosen/ajax-chosen.jquery.' . $suffix . '.js', array('jquery','sensei-chosen'), Sensei()->version , true);
wp_enqueue_script('sensei-chosen', Sensei()->plugin_url . 'assets/chosen/chosen.jquery' . $suffix . '.js', array('jquery'), Sensei()->version , true);
wp_enqueue_script('sensei-chosen-ajax', Sensei()->plugin_url . 'assets/chosen/ajax-chosen.jquery' . $suffix . '.js', array('jquery','sensei-chosen'), Sensei()->version , true);
wp_enqueue_script($this->taxonomy . '-admin', esc_url($this->assets_url) . 'js/modules-admin' . $suffix . '.js', array('jquery','sensei-chosen','sensei-chosen-ajax', 'jquery-ui-sortable'), Sensei()->version, true);

//localized module data
Expand Down

3 comments on commit c9f0821

@danjjohnson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dwainm is this already merged into 1.9? Can we delete this branch?

@dwainm
Copy link
Contributor

@dwainm dwainm commented on c9f0821 Jul 15, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danjjohnson I've merged this into release 1.8.6 and working on the merge conflicts to get it into 1.8.6

@dwainm
Copy link
Contributor

@dwainm dwainm commented on c9f0821 Jul 15, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danjjohnson all done :)

Please sign in to comment.