Change delete group handler to accept documentation data

This commit is contained in:
nathangray
2019-05-28 09:59:55 -06:00
parent 5f58e4a23c
commit ffa1102687
2 changed files with 5 additions and 8 deletions

View File

@@ -443,12 +443,8 @@ app.classes.admin = AppJS.extend(
break;
case 'delete':
if (!this.egw.app('policy'))
{
this.egw.json('admin_account::ajax_delete_group', [account_id]).sendRequest();
break;
}
// fall through to open popup for policy
this.egw.json('admin_account::ajax_delete_group', [account_id, _action.data]).sendRequest();
break;
default:
if (!_action.data.url)
{