Commit bbb017b3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Allow to clone an object from testbrowser.

parent 9327f3c5
...@@ -864,6 +864,13 @@ class ContextMainForm(MainForm): ...@@ -864,6 +864,13 @@ class ContextMainForm(MainForm):
""" """
self.submit(name='Folder_create:method') self.submit(name='Folder_create:method')
def submitClone(self):
"""
Clone the previously selected objects. Use the class attribute
rather than the name as the latter is dependent on the context.
"""
self.submit(class_attribute='clone')
def submitDelete(self): def submitDelete(self):
""" """
Delete the previously selected objects. Delete the previously selected objects.
......
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