function views_ui_js_load

2.x views_ui.module views_ui_js_load($js)

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;
}