From e5aaa69493cd3408d1d480c43451915acdc43a5b Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 12 Feb 2010 15:50:16 -0800 Subject: [PATCH] Include the browse javascript for row linking. --- htdocs/admin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/admin.php b/htdocs/admin.php index 2b8b6544..c5399b02 100644 --- a/htdocs/admin.php +++ b/htdocs/admin.php @@ -12,7 +12,9 @@ param_to_global('component', '{[a-z0-9-_]+}', 't'); param_to_global('id', '{[a-z0-9-_]+}', 'id'); $c->stylesheets[] = 'css/'.$action.'.css'; -// $c->scripts[] = 'js/'.$action.'.js'; +if ( $c->enable_row_linking ) { + $c->scripts[] = 'js/browse.js'; +} require_once('interactive-page.php');