diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-27 21:18:19 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-27 22:55:17 +0100 |
commit | c51396551d3955786bc5df3fbc45109b66d82350 (patch) | |
tree | a9e5f52921ee08450bd6265d57552737bbbd1ad6 | |
parent | 3af61a0a7cd1833b347c6b1f1c46626471c60ea1 (diff) | |
download | nextcloud-server-c51396551d3955786bc5df3fbc45109b66d82350.tar.gz nextcloud-server-c51396551d3955786bc5df3fbc45109b66d82350.zip |
Whitespaces
-rw-r--r-- | core/js/share.js | 6 |
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'); |