Commit 2a57bc72 by Yusei Tahara

erp5_xhtml_style/erp5.js.js: add onchange event handler to textareas in listbox as well.

1 parent 82c5ecae
......@@ -254,7 +254,7 @@ var addOnChangeEventHandler = function() {
if ($(this).attr("class") == "listbox-search-line") {
return non-false;
}
$(this).find('input').each(function(){
$(this).find('input,textarea').each(function(){
if ($(this).attr("type") != "hidden" &&
!this.onchange) {
this.onchange = function() { changed = true; };
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!