diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-28 00:18:19 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-28 00:18:19 +0400 |
commit | c901709d53edaec235a0bd8dfb1e9ae8e6e35fff (patch) | |
tree | 6933df8e15c0cc983b9fb3f0239168d11730d65e | |
parent | 84bc4c175aedbc629c6e2ac30f803ce4073351e3 (diff) |
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'); |