AnanthaKN / jquery-in-place-editor

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

Adding spaces to editInPlace field #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. click on editInPlace field
2. add only space(s) to the field and submit
3. It's not longer possible to use the editInPlace field

What is the expected output? What do you see instead?
Input field, but not longer possible to use the editInPlace field

What version of the product are you using? On what operating system?
FireFox 3.6.10 + jQuery 1.4.2 + editinplace2.x

Please provide any additional information below.
Resolution:
replace spaces with  

Original issue reported on code.google.com by stefanga...@gmail.com on 28 Sep 2010 at 10:23

GoogleCodeExporter commented 8 years ago
Hm, I think this may be something for your validation to catch. 

I would like to keep the consistency that if you add extra spaces in your html, 
they will be ignored, just as they are when you enter them like this.

You can return the value as  s from the server though and then that will / 
should be used (just as it would in a template). 

If it isn't, thats certainly a bug, so please update this report in that case.

Original comment by mhaec...@gmail.com on 27 Jan 2011 at 8:54