From 39d822a5190ec302da5f2ad38fff55d372d84258 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 13 Aug 2010 12:25:56 +0000 Subject: [PATCH] repaired class name typo (thanks dbs). made args more generally useable git-svn-id: svn://svn.open-ils.org/ILS/trunk@17210 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/Util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/Util.js b/Open-ILS/web/js/dojo/openils/Util.js index bc402bc04..08a56bdae 100644 --- a/Open-ILS/web/js/dojo/openils/Util.js +++ b/Open-ILS/web/js/dojo/openils/Util.js @@ -326,7 +326,8 @@ if(!dojo._hasResource["openils.Util"]) { */ openils.Util.hilightNode = function(node, patterns, args) { - var hclass = (args && args.classname) ? args.classname : 'oils-hightlight'; + args = args ||{}; + var hclass = args.classname || 'oils-highlight'; function _hilightNode(node, pat) { -- 2.11.0