diff --git a/VERSION b/VERSION index 61c6729f..fede24d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.09.10.44.15 +Version 2.4.1-alpha.2+timestamp.2013.01.09.11.12.16 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index db928d58..261eb525 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1150,7 +1150,7 @@ class SQLFORM(FORM): # # when deletable, add delete? checkbox - self.custom.deletable = '' + self.custom.delete = self.custom.deletable = '' if record and deletable: #add secondary css class for cascade delete warning css = 'delete' @@ -1172,7 +1172,8 @@ class SQLFORM(FORM): _id=self.FIELDKEY_DELETE_RECORD + SQLFORM.ID_LABEL_SUFFIX), widget, col3.get(self.FIELDKEY_DELETE_RECORD, ''))) - self.custom.deletable = widget + self.custom.delete = self.custom.deletable = widget + # when writable, add submit button self.custom.submit = ''