Commit cac80dc9 authored by Ivan Tyagov's avatar Ivan Tyagov

Use Base_getSearchText in KM UI.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36732 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae6171ef
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
......
......@@ -275,7 +275,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: getattr(request, \'new_advanced_search_text\', False) or context.Base_translateString(\'Search\')</string> </value>
<value> <string>python: context.Base_getSearchText() or context.Base_translateString(\'Search\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -52,8 +52,7 @@
-->\n
</tal:block>\n
\n
<tal:block tal:define="search_text python: request.get(\'your_search_text\', None);">\n
\n
<tal:block tal:define="search_text here/Base_getSearchText">\n
<input type="text"\n
name="field_your_search_text"\n
onkeypress="submitFormOnEnter(event, \'main_form\', \'ERP5Site_viewQuickSearchResultList\', false, this)"\n
......@@ -63,7 +62,6 @@
value="Search" \n
name="ERP5Site_viewQuickSearchResultList:method" \n
class=""/>\n
\n
</tal:block>\n
......
......@@ -305,6 +305,10 @@ button.sort_button_asc{\n
/* in search mode listbox may contain top/ bottom quick search inputs */\n
div.search-text-listbox{\n
text-align: center;\n
float:left;\n
height:auto; \n
margin-bottom:0.5em;\n
margin-top:0.5em;\n
}\n
div.search-text-listbox input{\n
width: auto;\n
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts76170392.93</string> </value>
<value> <string>ts77887532.32</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -23,7 +23,7 @@
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
<value> <string>application/x-javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
......
1474
\ No newline at end of file
1475
\ No newline at end of file
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