You are here

function _mailhandler_include_js in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 mailhandler.module \_mailhandler_include_js()

Include JS in form element.

1 string reference to '_mailhandler_include_js'
mailhandler_mailbox_ui::edit_form in plugins/ctools/export_ui/mailhandler_mailbox_ui.class.php
Implements ctools_export_ui::edit_form().

File

./mailhandler.module, line 316
Retrieves email for posting as nodes and comments.

Code

function _mailhandler_include_js($form_element, &$form_state) {
  drupal_add_js(drupal_get_path('module', 'mailhandler') . '/mailhandler.js');
  return $form_element;
}