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

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Apr 30 14:50:13 EDT 2009


Author: nbelaevski
Date: 2009-04-30 14:50:12 -0400 (Thu, 30 Apr 2009)
New Revision: 13980

Modified:
   trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-6874

Modified: trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2009-04-30 17:29:38 UTC (rev 13979)
+++ trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2009-04-30 18:50:12 UTC (rev 13980)
@@ -62,9 +62,18 @@
 		if (this.bar) {
 			if (this.bar.ok) {
 				this.bar.ok.observe("mousedown", function(e){this.okHandler(e);}.bindAsEventListener(this));			
+			
+				if (Richfaces.browser.isOpera) {
+					this.bar.ok.observe("click", Event.stop); 
+				}
 			}
+			
 			if (this.bar.cancel) {
 				this.bar.cancel.observe("mousedown", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
+
+				if (Richfaces.browser.isOpera) {
+					this.bar.cancel.observe("click", Event.stop); 
+				}
 			}
 		}
 	},




More information about the richfaces-svn-commits mailing list