issue 1325 (hidden->display:none), thanks Anthony
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.11.00.26.09
|
||||
Version 2.4.1-alpha.2+timestamp.2013.02.13.08.34.56
|
||||
|
||||
+1
-1
@@ -2051,7 +2051,7 @@ class FORM(DIV):
|
||||
if hasattr(self, 'formname') and self.formname:
|
||||
c.append(INPUT(_type='hidden', _name='_formname',
|
||||
_value=self.formname))
|
||||
return DIV(c, _class="hidden")
|
||||
return DIV(c, _style="display:none;")
|
||||
|
||||
def xml(self):
|
||||
newform = FORM(*self.components, **self.attributes)
|
||||
|
||||
+5
-3
@@ -460,8 +460,10 @@ class CheckboxesWidget(OptionsWidget):
|
||||
|
||||
if opts:
|
||||
opts.append(
|
||||
INPUT(_class="hidden", requires=attr.get('requires', None),
|
||||
_disabled="disabled", _name=field.name,
|
||||
INPUT(requires=attr.get('requires', None),
|
||||
_style="display:none;",
|
||||
_disabled="disabled",
|
||||
_name=field.name,
|
||||
hideerror=False))
|
||||
return parent(*opts, **attr)
|
||||
|
||||
@@ -1713,7 +1715,7 @@ class SQLFORM(FORM):
|
||||
)
|
||||
)
|
||||
return CAT(
|
||||
DIV(_id=panel_id, _class='hidden', *criteria), fadd)
|
||||
DIV(_id=panel_id, _style="display:none;", *criteria), fadd)
|
||||
|
||||
@staticmethod
|
||||
def grid(query,
|
||||
|
||||
Reference in New Issue
Block a user