Commits

Ralph Bean  committed 59167b3

Fixing up defaults for url.

  • Participants
  • Parent commits 17c3737

Comments (0)

Files changed (2)

 
 setup(
     name='tw2.jqplugins.jqplot',
-    version='2.0.0',
+    version='2.0.1',
     description='toscawidgets2 wrapper for the jqPlot jQuery plugin',
     long_description=long_description,
     author='Ralph Bean',

File tw2/jqplugins/jqplot/widgets.py

 class PollingJQPlotWidget(JQPlotWidget):
     template = "tw2.jqplugins.jqplot.templates.pollster"
 
-    url = twc.Param("(string) A url to poll")
+    url = twc.Param("(string) A url to poll", default='')
     url_kwargs = twc.Param("(dict) A dict for a query str", default={})
     interval = twc.Param("(int) milliseconds between pulls", default=0)