diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 73c74a7cb6d..8fcea84af88 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -364,6 +364,8 @@ OC.Share={ } $(document).ready(function() { + + if(typeof monthNames != 'undefined'){ $.datepicker.setDefaults({ monthNames: monthNames, monthNamesShort: $.map(monthNames, function(v) { return v.slice(0,3)+'.'; }), @@ -372,7 +374,7 @@ $(document).ready(function() { dayNamesShort: $.map(dayNames, function(v) { return v.slice(0,3)+'.'; }), firstDay: firstDay }); - + } $('a.share').live('click', function(event) { event.stopPropagation(); if ($(this).data('item-type') !== undefined && $(this).data('item') !== undefined) { |