summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 39df5e4c5bf..8ef76e2d082 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -383,7 +383,7 @@ OC.Share={
}
$(document).ready(function() {
-
+
if(typeof monthNames != 'undefined'){
$.datepicker.setDefaults({
monthNames: monthNames,
@@ -421,7 +421,7 @@ $(document).ready(function() {
$(this).click(function(event) {
var target = $(event.target);
- var isMatched = !target.is('.drop, .ui-datepicker-next, .ui-datepicker-prev, .ui-icon')
+ var isMatched = !target.is('.drop, .ui-datepicker-next, .ui-datepicker-prev, .ui-icon')
&& !target.closest('#ui-datepicker-div').length;
if (OC.Share.droppedDown && isMatched && $('#dropdown').has(event.target).length === 0) {
OC.Share.hideDropDown();
@@ -569,7 +569,7 @@ $(document).ready(function() {
});
}
});
-
+
$(document).on('change', '#dropdown #expirationDate', function() {
var itemType = $('#dropdown').data('item-type');
var itemSource = $('#dropdown').data('item-source');