Revert "close-button for share_dropdown"

This reverts commit 3bc3d4c9f3.
This commit is contained in:
Julian Müller 2014-04-14 18:40:24 +02:00
parent 3bc3d4c9f3
commit 463df08088

View 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')