Fixed: Remove onenter callback from html textarea

--HG--
branch : develop
This commit is contained in:
Nimetu 2018-08-18 14:15:32 +03:00
parent 729ba2ebbd
commit dd03e1f0b1

View file

@ -4627,6 +4627,7 @@ namespace NLGUI
if (multiLine)
templateParams.push_back (std::pair<std::string,std::string> ("multi_min_line", toString(rows)));
templateParams.push_back (std::pair<std::string,std::string> ("want_return", multiLine?"true":"false"));
templateParams.push_back (std::pair<std::string,std::string> ("onenter", ""));
templateParams.push_back (std::pair<std::string,std::string> ("enter_recover_focus", "false"));
if (maxlength > 0)
templateParams.push_back (std::pair<std::string,std::string> ("max_num_chars", toString(maxlength)));