Commit 445cccd6 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix submitSearch() to use the <input> name rather than the label


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44960 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9761002d
...@@ -534,7 +534,7 @@ class MainForm(Form): ...@@ -534,7 +534,7 @@ class MainForm(Form):
@param search_text: Text to search @param search_text: Text to search
@type search_text: str @type search_text: str
""" """
self.getControl('field_your_search_text').value = search_text self.getControl(name='field_your_search_text').value = search_text
self.submit(name='ERP5Site_viewQuickSearchResultList:method') self.submit(name='ERP5Site_viewQuickSearchResultList:method')
def submitLogout(self): def submitLogout(self):
......
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