[richfaces-svn-commits] JBoss Rich Faces SVN: r6466 - trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Feb 29 13:58:50 EST 2008


Author: vmolotkov
Date: 2008-02-29 13:58:50 -0500 (Fri, 29 Feb 2008)
New Revision: 6466

Modified:
   trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
showControls corrected

Modified: trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2008-02-29 18:45:14 UTC (rev 6465)
+++ trunk/sandbox/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2008-02-29 18:58:50 UTC (rev 6466)
@@ -41,13 +41,13 @@
 		
 		if (this.bar) {
 			if (this.bar.ok) {
-				this.bar.ok.observe("click", function(e){this.okHandler(e);}.bindAsEventListener(this));			
+				this.bar.ok.observe("mousedown", function(e){this.okHandler(e);}.bindAsEventListener(this));			
 			}
 			if (this.bar.cancel) {
-				this.bar.cancel.observe("click", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
+				this.bar.cancel.observe("mousedown", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
 			}
 			
-			this.bar.bar.observe("mousedown", function(e){this.barMouseDownHandler(e);}.bindAsEventListener(this));
+			//this.bar.bar.observe("mousedown", function(e){this.barMouseDownHandler(e);}.bindAsEventListener(this));
 		}
 		
 		this.tabber.observe("focus", function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
@@ -145,9 +145,9 @@
 		}
 	},
 	
-	barMouseDownHandler : function(e) {
+	/*barMouseDownHandler : function(e) {
 		this.clickOnBar = true;
-	},
+	},*/
 	
 	okHandler : function(e) {
 		this.inputProcessing();




More information about the richfaces-svn-commits mailing list