function views_add_js

cis7 views.module views_add_js($file)
cle7 views.module views_add_js($file)
elmsmedia7 views.module views_add_js($file)
icor7 views.module views_add_js($file)
meedjum_blog7 views.module views_add_js($file)
mooc7 views.module views_add_js($file)

Include views .js files.

3 calls to views_add_js()
template_preprocess_views_view in sites/all/modules/ulmus/views/theme/
Preprocess the primary theme implementation for a view.
views_plugin_display::option_link in sites/all/modules/ulmus/views/plugins/
Because forms may be split up into sections, this provides an easy URL to exactly the right section. Don't override this.
views_ui::list_render in sites/all/modules/ulmus/views/plugins/export_ui/views_ui.class.php
Render all of the rows together.


sites/all/modules/ulmus/views/views.module, line 1114
Primarily Drupal hooks and global API functions to manipulate views.


function views_add_js($file) {
  // If javascript has been disabled by the user, never add js files.
  if (variable_get('views_no_javascript', FALSE)) {
  static $base = TRUE, $ajax = TRUE;
  if ($base) {
    drupal_add_js(drupal_get_path('module', 'views') . "/js/base.js");
    $base = FALSE;
  if ($ajax && in_array($file, array('ajax', 'ajax_view'))) {
    drupal_add_library('system', 'drupal.ajax');
    drupal_add_library('system', 'jquery.form');
    $ajax = FALSE;
  ctools_add_js($file, 'views');



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.