Commits

Mark Lavin committed ec20766

Update jQuery UI version included by the template tags from 1.8.18 to 1.8.23

Comments (0)

Files changed (5)

docs/quick-start.rst

         {% load selectable_tags %}
         {% include_jquery_libs %}
 
-By default these will use jQuery v1.7.2 and jQuery UI v1.8.18. You can customize the versions
+By default these will use jQuery v1.7.2 and jQuery UI v1.8.23. You can customize the versions
 used by pass them to the tag. The first version is the jQuery version and the second is the
 jQuery UI version.
 
         {% load selectable_tags %}
         {% include_ui_theme %}
 
-By default this will use the `base <http://jqueryui.com/themeroller/>`_ theme for jQuery UI v1.8.18.
+By default this will use the `base <http://jqueryui.com/themeroller/>`_ theme for jQuery UI v1.8.23.
 You can configure the theme and version by passing them in the tag.
 
     .. code-block:: html

docs/releases.rst

 _________________
 
 - Initial translations (pt_BR). Thanks to Felipe Prenholato for the patch.
+- Upgraded default jQuery UI version included by the template tags from 1.8.18 to 1.8.23
 
 Bug Fixes
 _________________

selectable/templatetags/selectable_tags.py

 
 
 @register.inclusion_tag('selectable/jquery-js.html')
-def include_jquery_libs(version='1.7.2', ui='1.8.18'):    
+def include_jquery_libs(version='1.7.2', ui='1.8.23'):
     return {'version': version, 'ui': ui}
 
 
 @register.inclusion_tag('selectable/jquery-css.html')
-def include_ui_theme(theme='base', version='1.8.18'):    
+def include_ui_theme(theme='base', version='1.8.23'):
     return {'theme': theme, 'version': version}

selectable/tests/qunit/index.html

     <title>Django Selectable Qunit Test Suite</title>
     <link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
+    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
     <script type="text/javascript" src="qunit.js"></script>
     <script>
         // Disable auto-binding of djselectable widgets to avoid test race conditions

selectable/tests/templatetags.py

         context = Context({})
         result = template.render(context)
         self.assertJQueryVersion(result, '1.7.2')
-        self.assertUIVersion(result, '1.8.18')
+        self.assertUIVersion(result, '1.8.23')
 
     def test_render_jquery_version(self):
         "Render template tag with specified jQuery version."
         template = Template("{% load selectable_tags %}{% include_ui_theme %}")
         context = Context({})
         result = template.render(context)
-        self.assertUICSS(result, 'base', '1.8.18')
+        self.assertUICSS(result, 'base', '1.8.23')
 
     def test_render_version(self):
         "Render template tag with alternate version."
         template = Template("{% load selectable_tags %}{% include_ui_theme 'ui-lightness' %}")
         context = Context({})
         result = template.render(context)
-        self.assertUICSS(result, 'ui-lightness', '1.8.18')
+        self.assertUICSS(result, 'ui-lightness', '1.8.23')
         
     def test_variable_theme(self):
         "Render using theme from content variable."
         template = Template("{% load selectable_tags %}{% include_ui_theme theme %}")
         context = Context({'theme': theme})
         result = template.render(context)
-        self.assertUICSS(result, theme, '1.8.18')
+        self.assertUICSS(result, theme, '1.8.23')