This commit is contained in:
barisusakli
2016-05-23 12:59:33 +03:00
parent 38d1bde895
commit 54ccdf5262
3 changed files with 61 additions and 40 deletions

View File

@@ -112,4 +112,8 @@ Categories.copySettingsFrom = function(socket, data, callback) {
categories.copySettingsFrom(data.fromCid, data.toCid, callback);
};
Categories.copyPrivilegesFrom = function(socket, data, callback) {
categories.copyPrivilegesFrom(data.fromCid, data.toCid, callback);
};
module.exports = Categories;

View File

@@ -58,6 +58,7 @@
<div class="btn-toolbar">
<button type="button" class="btn btn-primary pull-right" data-ajaxify="false" data-action="search.group"> Add Group</button>
<button type="button" class="btn btn-info pull-right" data-ajaxify="false" data-action="copyToChildren"> Copy to Children</button>
<button type="button" class="btn btn-info pull-right" data-ajaxify="fakse" data-action="copyPrivilegesFrom"> Copy From Category</button>
</div>
</td>
</tr>