Permalink
Browse files

Merge pull request #74 from dArignac/patch-2

Fixed jQuery integration in french datepicker.
  • Loading branch information...
2 parents 4c64115 + 7b561ad commit b69d3e8e3c293f4dd05630405b4e8752cf7c2ca2 @sehmaschine committed Jan 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 grappelli/static/grappelli/jquery/i18n/ui.datepicker-fr.js
@@ -1,6 +1,6 @@
/* French initialisation for the jQuery UI date picker plugin. */
/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */
-jQuery(function($){
+(function($){
$.datepicker.regional['fr'] = {
closeText: 'Fermer',
prevText: '<Préc',
@@ -16,4 +16,4 @@ jQuery(function($){
dateFormat: 'yy-mm-dd', firstDay: 1,
isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['fr']);
-});
+})(django.jQuery);

0 comments on commit b69d3e8

Please sign in to comment.