Commit 49fdcce0 authored by Jérome Perrin's avatar Jérome Perrin

don't use "is" to compare strings

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18004 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca2ed64f
......@@ -85,7 +85,7 @@
tal:attributes="onChange string:submitAction(this.form,\'Base_doDialog\')">\n
<tal:block tal:repeat="action dialog_actions">\n
<option tal:attributes="value action/url;\n
selected python: action is current_action and \'selected\' or None"\n
selected python: action == current_action and \'selected\' or None"\n
tal:content="action/name"\n
i18n:translate="" i18n:domain="ui"></option>\n
</tal:block>\n
......
452
\ No newline at end of file
453
\ 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