|
|
@ -364,6 +364,8 @@ OC.Share={ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() { |
|
|
|
$(document).ready(function() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(typeof monthNames != 'undefined'){ |
|
|
|
$.datepicker.setDefaults({ |
|
|
|
$.datepicker.setDefaults({ |
|
|
|
monthNames: monthNames, |
|
|
|
monthNames: monthNames, |
|
|
|
monthNamesShort: $.map(monthNames, function(v) { return v.slice(0,3)+'.'; }), |
|
|
|
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)+'.'; }), |
|
|
|
dayNamesShort: $.map(dayNames, function(v) { return v.slice(0,3)+'.'; }), |
|
|
|
firstDay: firstDay |
|
|
|
firstDay: firstDay |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
$('a.share').live('click', function(event) { |
|
|
|
$('a.share').live('click', function(event) { |
|
|
|
event.stopPropagation(); |
|
|
|
event.stopPropagation(); |
|
|
|
if ($(this).data('item-type') !== undefined && $(this).data('item') !== undefined) { |
|
|
|
if ($(this).data('item-type') !== undefined && $(this).data('item') !== undefined) { |
|
|
|