From: erickson Date: Fri, 13 Aug 2010 12:25:56 +0000 (+0000) Subject: repaired class name typo (thanks dbs). made args more generally useable X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=39d822a5190ec302da5f2ad38fff55d372d84258;p=Evergreen.git 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 --- diff --git a/Open-ILS/web/js/dojo/openils/Util.js b/Open-ILS/web/js/dojo/openils/Util.js index bc402bc04f..08a56bdae3 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) {