function ctools_js_load
Check to see if the incoming menu item is js capable or not.
This can be used as %ctools_js as part of a path in hook menu. CTools ajax functions will automatically change the phrase 'nojs' to 'ajax' when it attaches ajax to a link. This can be used to autodetect if that happened.
File
-
./
ctools.module, line 956
Code
function ctools_js_load($js) {
if ($js == 'ajax') {
return TRUE;
}
return 0;
}