Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Commit

Permalink
add a default supportsCancel = False to TableBase
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Groszer committed Jun 19, 2012
1 parent c37815a commit 11507c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/z3c/tabular/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import zope.i18nmessageid

from z3c.form import button
from z3c.form import field
from z3c.formui import form
from z3c.table import table
from z3c.template.template import getPageTemplate
Expand All @@ -30,6 +29,7 @@

_ = zope.i18nmessageid.MessageFactory('z3c')


# simple template rendering aware table base class
class TemplateTable(table.Table):
"""Template aware teble."""
Expand Down Expand Up @@ -70,6 +70,7 @@ class TableBase(TemplateTable):

# customize this part
allowCancel = True
supportsCancel = False

def update(self):
# 1. setup widgets
Expand Down

0 comments on commit 11507c2

Please sign in to comment.