[open-ils-commits] r17210 - trunk/Open-ILS/web/js/dojo/openils (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Aug 13 08:25:57 EDT 2010


Author: erickson
Date: 2010-08-13 08:25:56 -0400 (Fri, 13 Aug 2010)
New Revision: 17210

Modified:
   trunk/Open-ILS/web/js/dojo/openils/Util.js
Log:
repaired class name typo (thanks dbs).  made args more generally useable

Modified: trunk/Open-ILS/web/js/dojo/openils/Util.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/Util.js	2010-08-13 08:18:42 UTC (rev 17209)
+++ trunk/Open-ILS/web/js/dojo/openils/Util.js	2010-08-13 12:25:56 UTC (rev 17210)
@@ -326,7 +326,8 @@
      */
     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) {
 



More information about the open-ils-commits mailing list