Mercurial > hg > digilib
changeset 339:26c6a973fb1e
small fix for getParameter before setup (hopefully)
author | robcast |
---|---|
date | Wed, 23 Feb 2005 17:53:20 +0100 |
parents | b9ba23e28aa1 |
children | 9ca895a5c053 |
files | client/digitallibrary/baselib.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/digitallibrary/baselib.js Thu Nov 18 21:37:26 2004 +0100 +++ b/client/digitallibrary/baselib.js Wed Feb 23 17:53:20 2005 +0100 @@ -278,7 +278,7 @@ function getParameter(name) { // returns the named parameter value or its default value - if (defined(dlParams[name])) { + if (defined(dlParams) && defined(dlParams[name])) { if (dlParams[name].hasValue) { return dlParams[name].value; } else {