]> git.openstreetmap.org Git - osqa.git/commitdiff
changed how we import the datepicker lib to use google's load function.
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 6 May 2010 15:51:15 +0000 (15:51 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 6 May 2010 15:51:15 +0000 (15:51 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@153 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/users/edit.html

index 4227fceca7cb0f95b3f73d521fd44b4a7f6e4dc4..faede0551fdfccbabdc7b8351a48e4af61e612e0 100644 (file)
@@ -5,15 +5,11 @@
 {% load i18n %}\r
 {% block title %}{% spaceless %}{% trans "Edit user profile" %}{% endspaceless %}{% endblock %}\r
 {% block forejs %}\r
-        <script type="text/javascript">google.load("jquery", "1.4.2");</script>\r
+        <script type="text/javascript">google.load("jquery", "1.4.2");google.load("jqueryui", "1.8.1");</script>\r
 \r
         <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" />\r
         <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />\r
         \r
-        <script src="{% media  "/media/js/effects.core.min.js" %}" type="text/javascript"></script>\r
-        <script src="{% media  "/media/js/ui.core.js" %}" type="text/javascript"></script>\r
-        <script src="{% media  "/media/js/ui.datepicker.js" %}" type="text/javascript"></script>\r
-\r
         <script type="text/javascript">\r
             $().ready(function(){\r
                 $("#id_birthday").datepicker({\r