google-code-export / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
1 stars 0 forks source link

Error in saveContent() #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Line 550:
$(this.original).val(content);
>>
$(this.original).html(content);

Textareas do not have a 'value' attribute, so FF & Opera do not use it.

Original issue reported on code.google.com by margo.sk...@gmail.com on 5 Apr 2009 at 5:11

GoogleCodeExporter commented 9 years ago
UPD: Since val() is used elsewhere, f.e. in html pane, it is better to add that 
line
than to replace with it.

That way everything functions as before, plus non-msie clients get their data.

Original comment by margo.sk...@gmail.com on 5 Apr 2009 at 2:29

GoogleCodeExporter commented 9 years ago
Is this really defect? 

jQuery val() is intelligent one.

Original comment by akzhan.a...@gmail.com on 6 Dec 2009 at 4:11

GoogleCodeExporter commented 9 years ago

Original comment by thaill...@gmail.com on 28 Jun 2011 at 4:43

Attachments: