[widgets] change make_uid() seed to make slider ids xhtml-valid stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 21 Sep 2009 11:18:55 +0200
branchstable
changeset 3333 c61a526b530e
parent 3332 91cff87c368f
child 3336 d77aa97f95f9
[widgets] change make_uid() seed to make slider ids xhtml-valid
web/facet.py
--- a/web/facet.py	Fri Sep 18 19:51:45 2009 +0200
+++ b/web/facet.py	Mon Sep 21 11:18:55 2009 +0200
@@ -679,7 +679,7 @@
         facet = self.facet
         facet.req.add_js('ui.slider.js')
         facet.req.add_css('ui.all.css')
-        sliderid = make_uid('the slider')
+        sliderid = make_uid('theslider')
         facetid = xml_escape(self.facet.id)
         facet.req.html_headers.add_onload(self.onload % {
             'sliderid': sliderid,