Author: eallen
Date: 2011-02-10 19:35:50 +0000 (Thu, 10 Feb 2011)
New Revision: 4515
Modified:
trunk/wooly/python/wooly/table.py
Log:
Don't put html comments in the css when in debug mode as this causes WebKit based
browsers to freak out.
Modified: trunk/wooly/python/wooly/table.py
===================================================================
--- trunk/wooly/python/wooly/table.py 2011-02-10 19:31:19 UTC (rev 4514)
+++ trunk/wooly/python/wooly/table.py 2011-02-10 19:35:50 UTC (rev 4515)
@@ -138,6 +138,12 @@
pass
class TableColumnCss(TableChild):
+ def __init__(self, app, name):
+ super(TableColumnCss, self).__init__(app, name)
+
+ # html comments in the css freaks out webkit browsers
+ self.comments_enabled = False
+
def render_class(self, session):
return self.parent.name
@@ -207,13 +213,13 @@
def __init__(self, app, name):
super(NewCheckboxColumn, self).__init__(app, name)
- self.selection = selection # XXX huh?
+ #self.selection = selection # XXX huh?
self.header = CheckboxColumnHeader(app, "header")
self.replace_child(self.header)
- self.cell = CheckboxColumnCell(app, "cell", selection)
- self.replace_child(self.cell)
+ #self.cell = CheckboxColumnCell(app, "cell", selection)
+ #self.replace_child(self.cell)
self.sortable = False
self.width = "1%"
Show replies by date