ginebra2/chrome/js/ActionButton.js
branchGCC_SURGE
changeset 8 2e16851ffecd
parent 5 0f2326c2a325
--- a/ginebra2/chrome/js/ActionButton.js	Fri Jun 11 16:23:26 2010 +0100
+++ b/ginebra2/chrome/js/ActionButton.js	Thu Jul 22 16:30:16 2010 +0100
@@ -70,14 +70,14 @@
 // and mouse up seem to cancel the onclick.
 //    this.onClick = function() {
 //        window.chrome.alert("ActionButton::onClick: " + this);
-//        if(this.action.enabled) {
+//        if (this.action.enabled) {
 //            this.action.trigger();
 //        }
 //        else {
 //            window.chrome.alert("ActionButton::onClick: not enabled");
 //        }
 //    }
-    
+
     this.onMouseDown = function() {
         // window.chrome.alert("ActionButton::onMouseDown " + this);
         if (!this.isDown) {
@@ -107,7 +107,7 @@
         if (this.isDown) {
             this.isDown = false;
             this.updateButton.call(this);
-            
+
             if (this.triggerOnMouseOut) {
                 // Trigger the action.
                 this.action.trigger();