Skip to content
Permalink
Browse files

[touch:10481]{t:20}remove extra slash in batch js

  • Loading branch information...
mnelson4 committed Feb 8, 2017
1 parent e5f05ee commit 9d4cf54600a25a46cec47a4d56b476de2297e7d6
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/batch/EED_Batch.module.php
@@ -117,7 +117,7 @@ public function enqueue_scripts() {
*/
public function enqueue_scripts_styles_batch_create() {
$job_response = $this->_enqueue_batch_job_scripts_and_styles_and_start_job();
wp_enqueue_script( 'batch_runner_init', BATCH_URL . '/assets/batch_runner_init.js', array( 'batch_runner' ), EVENT_ESPRESSO_VERSION, true );
wp_enqueue_script( 'batch_runner_init', BATCH_URL . 'assets/batch_runner_init.js', array( 'batch_runner' ), EVENT_ESPRESSO_VERSION, true );
wp_localize_script( 'batch_runner_init', 'ee_job_response', $job_response->to_array() );
wp_localize_script( 'batch_runner_init', 'ee_job_i18n',
array(
@@ -131,7 +131,7 @@ public function enqueue_scripts_styles_batch_create() {
public function enqueue_scripts_styles_batch_file_create() {
//creates a job based on the request variable
$job_response = $this->_enqueue_batch_job_scripts_and_styles_and_start_job();
wp_enqueue_script( 'batch_file_runner_init', BATCH_URL . '/assets/batch_file_runner_init.js', array( 'batch_runner' ), EVENT_ESPRESSO_VERSION, true );
wp_enqueue_script( 'batch_file_runner_init', BATCH_URL . 'assets/batch_file_runner_init.js', array( 'batch_runner' ), EVENT_ESPRESSO_VERSION, true );
wp_localize_script( 'batch_file_runner_init', 'ee_job_response', $job_response->to_array() );
wp_localize_script( 'batch_file_runner_init', 'ee_job_i18n',
array(

0 comments on commit 9d4cf54

Please sign in to comment.
You can’t perform that action at this time.