Commit b75b63b0 authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Fix unfoldDomain param and refactor search button

- Search form now works asynchronous, linked with listbox gadget
UNG main javascript take care of linking it to work
parent 5df0cbd9
...@@ -40,20 +40,19 @@ ...@@ -40,20 +40,19 @@
enctype string:multipart/form-data;\n enctype string:multipart/form-data;\n
portal_path python:websection.absolute_url();\n portal_path python:websection.absolute_url();\n
has_editor python: here.absolute_url() != portal_path;">\n has_editor python: here.absolute_url() != portal_path;">\n
<a class="ung_docs" tal:attributes="href python: portal_path + \'/unfoldDomain?domain_url=ung_domain/all_documents&\' + \n <a class="ung_docs" tal:attributes="href python: portal_path + \'/unfoldDomain?unfoldDomain=ung_domain/all_documents.0&\' + \n
\'form_id=erp5_web_ung_layout&\' + \n \'form_id=erp5_web_ung_layout&\' + \n
\'list_selection_name=ung_document_list_selection&\' + \n \'list_selection_name=ung_document_list_selection\'">\n
\'domain_depth:int=0&reset:int=1\'">\n
<img src="ung_images/ung-logo.gif">\n <img src="ung_images/ung-logo.gif">\n
</a>\n </a>\n
<a id=\'loading_message\'>Loading...</a>\n <a id=\'loading_message\'>Loading...</a>\n
<tal:block tal:condition="python: not has_editor">\n <tal:block tal:condition="python: not has_editor">\n
<form>\n <form class="search_box">\n
<input type="text" name="field_your_search_text" class="field" \n <input type="text" name="field_your_search_text" class="field" />\n
onkeyup="submitFormOnEnter(event, this.form, \'WebSection_viewSearchResultList\')"/>\n <input id=\'search_button\' tal:attributes="value python: here.Base_translateString(\'Search Docs\')"\n
<input type="submit" value="Search Docs" name="WebSection_viewSearchResultList:method"/>\n type="submit" value="Search Docs"/> \n
</form> \n </form> \n
</tal:block>\n </tal:block> \n
<tal:block tal:condition="python: has_editor">\n <tal:block tal:condition="python: has_editor">\n
<a name="document_title" tal:content="here/getTitle"/>\n <a name="document_title" tal:content="here/getTitle"/>\n
<a name="document_state" tal:content="here/getValidationStateTitle"/>\n <a name="document_state" tal:content="here/getValidationStateTitle"/>\n
......
2011-07-01 gabriel.oliveira
* Fix unfoldDomain param and refactor search button
2011-07-01 gabriel.oliveira 2011-07-01 gabriel.oliveira
* Refactor to self-close html tags * Refactor to self-close html tags
......
382 383
\ No newline at end of file \ 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