Commit 127a33dd authored by Jérome Perrin's avatar Jérome Perrin

remove dangerous tal:on-error="nothing" in allowedContentType down menu


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5778 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c3880e2
......@@ -117,8 +117,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<td valign="middle" align="right" nowrap>\n
<select name="action_select" size="1" tal:attributes="onChange string:submitAction(this.form,\'${absolute_url}/Base_doAction\')">\n
<option selected value="" i18n:translate="" i18n:domain="ui">Action...</option>\n
<tal:block tal:repeat="content here/allowedContentTypes | nothing"\n
tal:on-error="nothing">\n
<tal:block tal:repeat="content here/allowedContentTypes | nothing">\n
<tal:block tal:condition="python: not content.id in here.portal_types.getTypeInfo(here).getHiddenContentTypeList()">\n
<option value="" tal:attributes="value python: \'add \' + content.id"\n
i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content/Title" i18n:name="portal_type" i18n:translate="" i18n:domain="ui">portal type</tal:block></option>\n
......
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