mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
added 'invite people' link to 'share' & 'group manage members' popup
This commit is contained in:
@@ -77,9 +77,14 @@ define([
|
||||
},
|
||||
|
||||
events: {
|
||||
'click .invite-link-in-popup': 'closePopup',
|
||||
'submit form': 'formSubmit'
|
||||
},
|
||||
|
||||
closePopup: function() {
|
||||
$.modal.close();
|
||||
},
|
||||
|
||||
addOne: function(item, collection, options) {
|
||||
var view = new ItemView({
|
||||
model: item,
|
||||
|
@@ -109,6 +109,7 @@ define([
|
||||
'keydown #generate-upload-link-form .show-or-hide-password': 'showOrHideUploadPassword',
|
||||
|
||||
// dir private share
|
||||
'click .invite-link-in-popup': 'closePopup',
|
||||
'click #add-dir-user-share-item .submit': 'dirUserShare',
|
||||
'click #add-dir-group-share-item .submit': 'dirGroupShare'
|
||||
},
|
||||
@@ -738,6 +739,10 @@ define([
|
||||
});
|
||||
},
|
||||
|
||||
closePopup: function() {
|
||||
$.modal.close();
|
||||
},
|
||||
|
||||
dirUserShare: function () {
|
||||
var $panel = $('#dir-user-share');
|
||||
var $form = this.$('#add-dir-user-share-item'); // pseudo form
|
||||
|
Reference in New Issue
Block a user