nuAddJavascript() is currently not useable in After Browse.
But I believe if you were to change the current line to this, it would.
Code: Select all
$f->lookup_javascript = nuObjKey($GLOBALS,'EXTRAJS', '') . ";$r->sob_lookup_javascript";
Code: Select all
$f->lookup_javascript = nuObjKey($GLOBALS,'EXTRAJS', '') . ";$r->sob_lookup_javascript";
Code: Select all
nuAddJavascript('alert("hello")');
Code: Select all
$GLOBALS['EXTRAJS'] = '';