[open-ils-commits] r14482 - branches/rel_1_6/Open-ILS/web/opac/common/js (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Oct 17 18:11:43 EDT 2009


Author: dbs
Date: 2009-10-17 18:11:37 -0400 (Sat, 17 Oct 2009)
New Revision: 14482

Modified:
   branches/rel_1_6/Open-ILS/web/opac/common/js/slimtree.js
Log:
Another small rendering optimization - set dimensions of slimtree images


Modified: branches/rel_1_6/Open-ILS/web/opac/common/js/slimtree.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/opac/common/js/slimtree.js	2009-10-17 22:10:42 UTC (rev 14481)
+++ branches/rel_1_6/Open-ILS/web/opac/common/js/slimtree.js	2009-10-17 22:11:37 UTC (rev 14482)
@@ -20,11 +20,11 @@
 function SlimTree(context, handle, rootimg) { 
 	
 	if(!stimgopen) {
-		stimgopen	= elem('img',{src:stpicopen,border:0});
-		stimgclose	= elem('img',{src:stpicclose,border:0});
-		stimgblank	= elem('img',{src:stpicblank,border:0});
-		stimgline	= elem('img',{src:stpicline,border:0});
-		stimgjoin	= elem('img',{src:stpicjoin,border:0, style:'display:inline;'});
+		stimgopen       = elem('img',{src:stpicopen,border:0, style:'height:13px;width:31px;'});
+		stimgclose      = elem('img',{src:stpicclose,border:0, style:'height:13px;width:31px;'});
+		stimgblank      = elem('img',{src:stpicblank,border:0, style:'height:18px;width:18px;'});
+		stimgline       = elem('img',{src:stpicline,border:0, style:'height:18px;width:18px;'});
+		stimgjoin       = elem('img',{src:stpicjoin,border:0, style:'display:inline;height:18px;width:18px;'});
 	}
 
 	this.context	= context; 



More information about the open-ils-commits mailing list