From 65b455edf97742a922e51a5d81001ce106ec0043 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 24 Sep 2010 10:47:40 -0400 Subject: Whoami link The 'logged in as' message in the header into an active hypoerlink that loads the details page for the current user. Also fixed a bug where, when reloading, the search page would fail due to scl being undefined. Fixed a typo replaced {'user-facet':'details', 'pkey':whoami_pkey},2); with {'user-facet':'details', 'user-pkey':whoami_pkey},2); --- install/static/search.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install/static/search.js') diff --git a/install/static/search.js b/install/static/search.js index 7347dfce..6c88e41a 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -23,6 +23,10 @@ function search_create(obj_name, scl, container) { + if (!scl){ + scl = []; + } + function find_on_click() { var filter = $(this).prev('input[type=text]').val(); var state = {}; -- cgit