]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "close-button for share_dropdown"
authorJulian Müller <julian.mueller.ffb@kabelmail.de>
Mon, 14 Apr 2014 16:40:24 +0000 (18:40 +0200)
committerJulian Müller <julian.mueller.ffb@kabelmail.de>
Mon, 14 Apr 2014 16:40:24 +0000 (18:40 +0200)
This reverts commit 3bc3d4c9f346b378853ccf36f49e2f3816ea721d.

core/js/share.js

index 8210dd5d45fe39ae9eb1b1ea2d4cccb2616be100..5cabc6145634e94b32c6ea6ae60135ebcc71aa03 100644 (file)
@@ -211,7 +211,6 @@ OC.Share={
                                }
                        });
 
-                       html += '<p align="right"><button class="icon-close share-dropdown-close" /></p>';
                        html += '<input id="shareWith" type="text" placeholder="'+t('core', 'Share with user or group …')+'" />';
                        html += '<ul id="shareWithList">';
                        html += '</ul>';
@@ -553,10 +552,6 @@ $(document).ready(function() {
                }
        });
 
-       $(document).on('click', '.share-dropdown-close', function(event) {
-               OC.Share.hideDropDown();
-       });
-
        $(this).click(function(event) {
                var target = $(event.target);
                var isMatched = !target.is('.drop, .ui-datepicker-next, .ui-datepicker-prev, .ui-icon')