You are here

function _scheduler_get_vertical_tabs_js in Scheduler 7

Internal function to add js 'theme' setting and return the js filename.

2 calls to _scheduler_get_vertical_tabs_js()
_scheduler_form_alter in ./scheduler.edit.inc
Helper function that does all the work for the real hook_form_alter().
_scheduler_form_node_type_form_alter in ./scheduler.admin.inc
Helper function for the real hook_form_node_type_form_alter().

File

./scheduler.module, line 961
Scheduler publishes and unpublishes nodes on dates specified by the user.

Code

function _scheduler_get_vertical_tabs_js() {
  global $theme;
  drupal_add_js(array(
    'scheduler_vertical_tabs' => array(
      'theme' => $theme,
    ),
  ), array(
    'type' => 'setting',
  ));
  return drupal_get_path('module', 'scheduler') . "/scheduler_vertical_tabs.js";
}