AnanthaKN / jquery-in-place-editor

Automatically exported from code.google.com/p/jquery-in-place-editor
Other
0 stars 0 forks source link

Error server response does not properly reset value #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. From server side return error in header
2. The value is not updated to the originalValue

What is the expected output? What do you see instead?
The value should be reset to the original value
The value stays as the new value that was entered

What version of the product are you using? On what operating system?
Vs 2.2 on Firefox/Linux

Please provide any additional information below.
Easily fixed by changing line 496 from
that.dom.html(that.originalHTML); 
to
that.dom.html(that.originalValue);

Original issue reported on code.google.com by glademil...@gmail.com on 19 Nov 2010 at 9:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the fix!  I patched my version.

Original comment by jnan...@gmail.com on 1 Sep 2011 at 1:52