[fusion-commits] r2243 - sandbox/jxlib-3.0/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Oct 6 16:08:43 EDT 2010


Author: pagameba
Date: 2010-10-06 20:08:43 +0000 (Wed, 06 Oct 2010)
New Revision: 2243

Modified:
   sandbox/jxlib-3.0/lib/jxlib.uncompressed.js
Log:
updating jxlib for new combo button.


Modified: sandbox/jxlib-3.0/lib/jxlib.uncompressed.js
===================================================================
--- sandbox/jxlib-3.0/lib/jxlib.uncompressed.js	2010-09-30 17:23:09 UTC (rev 2242)
+++ sandbox/jxlib-3.0/lib/jxlib.uncompressed.js	2010-10-06 20:08:43 UTC (rev 2243)
@@ -42007,10 +42007,6 @@
                 //this.setActive(false);
             }).bind(this)
         });
-        
-        this.addEvent('change', function(){
-          window.console ? console.log('on change detected') : false;
-        })
     },
     
     setLabel: function(label) {
@@ -42128,7 +42124,18 @@
       this.buttonSet.empty();
       this.setLabel('');
       this.setImage(Jx.aPixel.src);
+    },
+    
+    enable: function() {
+      this.parent();
+      this.menu.setEnabled(true);
+    },
+    
+    disable: function() {
+      this.parent();
+      this.menu.setEnabled(false);
     }
+    
 });/*
 ---
 



More information about the fusion-commits mailing list