mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 14:49:09 +00:00
@@ -53,7 +53,7 @@ define([
|
|||||||
}).modal({focus:false});
|
}).modal({focus:false});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$("#share-tabs").tabs();
|
this.$("#share-tabs").tabs({});
|
||||||
|
|
||||||
if (!this.repo_encrypted && app.pageOptions.can_generate_share_link) {
|
if (!this.repo_encrypted && app.pageOptions.can_generate_share_link) {
|
||||||
this.downloadLinkPanelInit();
|
this.downloadLinkPanelInit();
|
||||||
@@ -690,13 +690,6 @@ define([
|
|||||||
$add_item.after(new_item.el);
|
$add_item.after(new_item.el);
|
||||||
});
|
});
|
||||||
$table.removeClass('hide');
|
$table.removeClass('hide');
|
||||||
|
|
||||||
// 'share to user' is the first tab.
|
|
||||||
if ($panel.is(':visible')) {
|
|
||||||
$('[name="emails"]', $add_item).select2($.extend({
|
|
||||||
'width': '100%'
|
|
||||||
}, Common.contactInputOptionsForSelect2()));
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
error: function(xhr, textStatus, errorThrown) {
|
error: function(xhr, textStatus, errorThrown) {
|
||||||
var err_msg = Common.prepareAjaxErrorMsg(xhr);
|
var err_msg = Common.prepareAjaxErrorMsg(xhr);
|
||||||
|
Reference in New Issue
Block a user