You are here

function views_ui_js_load in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 views_ui.module \views_ui_js_load()

Check to see if the incoming menu item is js capable or not.

File

./views_ui.module, line 296
views_ui.module Provide structure for the administrative interface to Views.

Code

function views_ui_js_load($js) {
  if ($js == 'ajax') {
    return TRUE;
  }
  return 0;
}