1
0
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:
llj
2015-04-17 10:59:48 +08:00
committed by Daniel Pan
parent c870a61d0c
commit 9f60afcf22
17 changed files with 62 additions and 364 deletions

View File

@@ -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