[Python-modules-commits] [python-django-treebeard] 02/17: Remove version infromation from jquery-ui filename

Michael Fladischer fladi at moszumanska.debian.org
Sat Jan 2 18:39:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-django-treebeard.

commit f18987f0dc4358a03557bdb3c4ccfa8e65b6faa1
Author: Michael Fladischer <fladi at debian.org>
Date:   Wed Dec 30 19:37:26 2015 +0100

    Remove version infromation from jquery-ui filename
    
     This package uses a symlink to the jquery-ui.min.js file provided by the
     libjs-jquery-ui package. Removing the version information from the filename
     makes it clearer that a system library is used and avoids confusion if the
     version in the filename would diverge from the actual file version maintained
     by the package.
    Last-Update: 2015-09-08
    Forwarded: not-needed
---
 treebeard/templatetags/admin_tree.py | 2 +-
 treebeard/tests/test_treebeard.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/treebeard/templatetags/admin_tree.py b/treebeard/templatetags/admin_tree.py
index eee38b7..e8ede12 100644
--- a/treebeard/templatetags/admin_tree.py
+++ b/treebeard/templatetags/admin_tree.py
@@ -275,7 +275,7 @@ def treebeard_js():
                  "(function($){jQuery = $.noConflict(true);})(django.jQuery);"
                  "</script>"
                  "<script type=\"text/javascript\" src=\"%s\"></script>")
-    jquery_ui = urljoin(path, 'treebeard/jquery-ui-1.8.5.custom.min.js')
+    jquery_ui = urljoin(path, 'treebeard/jquery-ui.min.js')
 
     scripts = [SCRIPT_HTML % 'jsi18n',
                SCRIPT_HTML % js_file,
diff --git a/treebeard/tests/test_treebeard.py b/treebeard/tests/test_treebeard.py
index 7f65239..fabef7e 100644
--- a/treebeard/tests/test_treebeard.py
+++ b/treebeard/tests/test_treebeard.py
@@ -2315,7 +2315,7 @@ class TestAdminTreeTemplateTags(TestCase):
                     'jQuery = $.noConflict(true);'
                     '})(django.jQuery);</script>'
                     '<script type="text/javascript" '
-                    'src="/treebeard/jquery-ui-1.8.5.custom.min.js"></script>')
+                    'src="/treebeard/jquery-ui.min.js"></script>')
         assert expected == rendered
 
     def test_get_static_url(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-treebeard.git



More information about the Python-modules-commits mailing list