Retrieve text area content from the textarea api

This commit is contained in:
Daniel Silverstone 2014-01-04 15:37:51 +00:00
parent 0aa488288c
commit 068b07494b

View File

@ -241,7 +241,7 @@ bool box_textarea_create_textarea(html_content *html,
return false; return false;
/* Get the textarea's initial content */ /* Get the textarea's initial content */
err = dom_node_get_text_content(node, &dom_text); err = dom_html_text_area_element_get_value(textarea, &dom_text);
if (err != DOM_NO_ERR) if (err != DOM_NO_ERR)
return false; return false;