Author: eallen
Date: 2010-08-02 15:46:17 -0400 (Mon, 02 Aug 2010)
New Revision: 4183
Modified:
mgmt/newdata/cumin/python/cumin/widgets.py
Log:
Fix background flag: use "?" as a separator when url doesn't already contain
one
Modified: mgmt/newdata/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/widgets.py 2010-08-02 15:53:56 UTC (rev 4182)
+++ mgmt/newdata/cumin/python/cumin/widgets.py 2010-08-02 19:46:17 UTC (rev 4183)
@@ -258,7 +258,8 @@
return self.data
def render_background(self, session):
- sep = (self.data and "?" in self.data) and ";" or
"?"
+ data = self.render_data(session)
+ sep = (data and "?" in data) and ";" or "?"
return "%sformBackground=1" % sep
def render_type(self, session):
Show replies by date