Commit ffdd3d93 authored by Jérome Perrin's avatar Jérome Perrin

Naming Conventions test: also handle folder_workflow_action_dialog as a dialog page template

parent 7bcded58
......@@ -160,7 +160,7 @@ def checkTitle(path, id, title, field=None, form=None):\n
Generic function that test the validity of a title.\n
"""\n
error_message = \'\'\n
if form is not None and form.pt != \'form_dialog\' or form is None:\n
if (form is not None and form.pt not in (\'form_dialog\', \'folder_workflow_action_dialog\')) or form is None:\n
if (field is not None and not field.get_value(\'hidden\') and \\\n
(title is None or len(title.strip()) == 0)) or (field is None and (title is None or len(title.strip()) == 0)):\n
return "%s : %s : can\'t be empty\\n" % (path, id)\n
......
41101
\ No newline at end of file
41102
\ 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