repaired class name typo (thanks dbs). made args more generally useable
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Aug 2010 12:25:56 +0000 (12:25 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Aug 2010 12:25:56 +0000 (12:25 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17210 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/Util.js

index bc402bc..08a56bd 100644 (file)
@@ -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) {