Commit 2a57bc72 authored by Yusei Tahara's avatar Yusei Tahara

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

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