Commit 77684613 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Allow to click on Dialog Update button.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@45994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46aeea67
...@@ -883,6 +883,13 @@ class ContextMainForm(MainForm): ...@@ -883,6 +883,13 @@ class ContextMainForm(MainForm):
""" """
self.submit(name='Base_cancel:method') self.submit(name='Base_cancel:method')
def submitDialogUpdate(self):
"""
Update the dialog action. A dialog may contain a button to update
the form before confirming it. See L{submitDialogConfirm} as well.
"""
self.submit(name='Base_showUpdateDialog:method')
def submitDialogConfirm(self): def submitDialogConfirm(self):
""" """
Confirm the dialog action. A dialog is showed when validating a Confirm the dialog action. A dialog is showed when validating a
......
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