mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
modified 'top-group-nav' & 'get contacts', cleaned up code & removed unused files
This commit is contained in:
@@ -469,6 +469,16 @@ define([
|
||||
});
|
||||
},
|
||||
|
||||
// get contacts for 'lib/dir/file share'
|
||||
getContacts: function () {
|
||||
this.ajaxGet({
|
||||
'get_url': this.getUrl({name: 'get_user_contacts'}),
|
||||
'after_op_success': function (data) {
|
||||
app.pageOptions.contacts = data["contacts"];
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
// check if a file is an image
|
||||
imageCheck: function (filename) {
|
||||
// no file ext
|
||||
|
Reference in New Issue
Block a user