Author: abelevich
Date: 2008-03-18 13:11:23 -0400 (Tue, 18 Mar 2008)
New Revision: 6922
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
rename inputProcessing function to the save for spec compatibility
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 2008-03-18
16:37:58 UTC (rev 6921)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-03-18
17:11:23 UTC (rev 6922)
@@ -37,7 +37,8 @@
this.inplaceInput.observe(this.editEvent,
function(e){this.switchingStatesHandler(e);}.bindAsEventListener(this));
this.inplaceInput.observe("mouseout",
function(e){this.inplaceMouseOutHandler(e);}.bindAsEventListener(this));
this.inplaceInput.observe("mouseover",
function(e){this.inplaceMouseOverHandler(e);}.bindAsEventListener(this));
-
+
+
this.tempValueKeeper.observe("blur",
function(e){this.tmpValueBlurHandler(e);}.bindAsEventListener(this));
this.tempValueKeeper.observe("keydown",
function(e){this.tmpValueKeyDownHandler(e);}.bindAsEventListener(this));
@@ -129,7 +130,7 @@
}
if (!this.attributes.showControls) {
- this.inputProcessing();
+ this.save();
}
},
@@ -139,11 +140,11 @@
this.cancel();
break;
case Event.KEY_RETURN :
- this.inputProcessing();
+ this.save();
Event.stop(e);
break;
case Event.KEY_TAB :
- this.inputProcessing();
+ this.save();
this.byTab = true;
break;
}
@@ -154,7 +155,7 @@
},*/
okHandler : function(e) {
- this.inputProcessing();
+ this.save();
Event.stop(e);
},
@@ -266,7 +267,7 @@
}
},
- inputProcessing : function() {
+ save : function() {
var userValue = this.tempValueKeeper.value;
var value = this.valueKeeper.value;
if (this.events.onviewactivation) {