[fusion-commits] r2158 - sandbox/jxlib-3.0/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon May 17 10:26:54 EDT 2010


Author: madair
Date: 2010-05-17 10:26:38 -0400 (Mon, 17 May 2010)
New Revision: 2158

Modified:
   sandbox/jxlib-3.0/widgets/Legend.js
Log:
use the 'click' event rather than 'change' event for legend group checkboxes

Modified: sandbox/jxlib-3.0/widgets/Legend.js
===================================================================
--- sandbox/jxlib-3.0/widgets/Legend.js	2010-05-14 15:47:13 UTC (rev 2157)
+++ sandbox/jxlib-3.0/widgets/Legend.js	2010-05-17 14:26:38 UTC (rev 2158)
@@ -797,7 +797,7 @@
             if ($defined(this.options.checked)) {
                 this.check(this.options.checked);
             }
-            this.checkbox.addEvent('change', function(e){
+            this.checkbox.addEvent('click', function(e){
                 if (this.options.data) {
                     if (e.target.checked && this.options.data.show) {
                         this.options.data.show();



More information about the fusion-commits mailing list