1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 17:02:47 +00:00

[org admin] added 'address-book'

This commit is contained in:
llj
2018-08-07 17:05:41 +08:00
parent 0105e8e8ef
commit ff90c7cfb4
16 changed files with 588 additions and 266 deletions

View File

@@ -21,7 +21,20 @@ define([
},
url: function () {
return Common.getUrl({name: 'admin-group-libraries', group_id: this.group_id});
var url_options = {
group_id: this.group_id
};
if (app.pageOptions.org_id) { // org admin
$.extend(url_options, {
name: 'org-admin-group-libraries',
org_id: app.pageOptions.org_id
});
} else {
$.extend(url_options, {
name: 'admin-group-libraries'
});
}
return Common.getUrl(url_options);
}
});