Commit 4e49cf28 authored by Yusei Tahara's avatar Yusei Tahara Committed by Cédric Le Ninivin

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

parent 379473fc
......@@ -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; };
......
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