Author: abelevich
Date: 2008-12-08 09:38:05 -0500 (Mon, 08 Dec 2008)
New Revision: 11634
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
fix setValue in save() method
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-12-08
14:09:12 UTC (rev 11633)
+++
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-12-08
14:38:05 UTC (rev 11634)
@@ -298,8 +298,8 @@
save : function(e) {
if (this.invokeEvent(this.events.onviewactivation, this.inplaceInput,
"rich:onviewactivation", {oldValue : this.valueKeeper.value, value :
this.tempValueKeeper.value})) {
- var userValue = {value:this.tempValueKeeper.value};
- this.setValue(e,userValue);
+ var userValue = this.tempValueKeeper.value;
+ this.setValue(userValue);
if (this.events.onviewactivated) {
this.inplaceInput.fire("rich:onviewactivated", {oldValue :
this.valueKeeper.value, value : this.tempValueKeeper.value});
}
Show replies by date