}
});
+ 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>';
}
});
+ $(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')