You are here

function jeditable_init in jEditable inline content editing 6.2

Same name and namespace in other branches
  1. 6 jeditable.module \jeditable_init()

Implements hook_init().

File

./jeditable.module, line 40

Code

function jeditable_init() {
  if (user_access('use jeditable')) {
    drupal_add_js(JEDITABLE_DIR_PLUGIN . '/jquery.jeditable.mini.js', 'module');
    drupal_add_js(JEDITABLE_DIR . '/drupal_jeditable.js', 'module');
    drupal_add_css(JEDITABLE_DIR . '/jeditable.css', 'theme');
  }
}