From 7873bb0d32504d12e7b4561a1f6e6b4c013a1b61 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Mon, 19 Apr 2004 09:08:13 +0000
Subject: [PATCH] Fix the javascript for onchange in text inputs. But this is
 actually no effect since Mozilla or Konqueror seems not to support onchange
 in text inputs.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@691 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/ListBox.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py
index 81eb00cd27..4327082ee8 100755
--- a/product/ERP5Form/ListBox.py
+++ b/product/ERP5Form/ListBox.py
@@ -918,11 +918,11 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
             if cname[0] in search_columns_id_list:
               list_search = list_search + (
                 "<td class=\"DataB\"><font size=\"-3\"> \
-                  <input name=\"%s\" size= \"8\" value=\"%s\"/ \
-                  onChange=\"submitAction('%s')\" > \
+                  <input name=\"%s\" size= \"8\" value=\"%s\" \
+                  onchange=\"submitAction(this.form,'%s/doSelect')\" > \
                   </font></td>\n" % \
                      (str(cname[2]) , params.get(str(cname[2]),'') ,
-                      REQUEST.URL ))
+                      REQUEST.URL1 ))
             else:
               list_search = list_search + (
                 "<td class=\"DataB\"></td> ")
-- 
2.30.9