Browse Source

UI-1022: No group gets created anymore when choosing an existing extension number

4.3
Maxime Roux 11 years ago
parent
commit
5ad133c343
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      submodules/groups/groups.js

+ 16
- 0
submodules/groups/groups.js View File

@ -1523,6 +1523,22 @@ define(function(require){
},
success: function(data) {
callback && callback(dataGroup.data);
},
error: function() {
self.callApi({
resource: 'group.delete',
data: {
accountId: self.accountId,
groupId: dataGroup.data.id
}
});
self.callApi({
resource: 'callflow.delete',
data: {
accountId: self.accountId,
callflowId: dataBaseCallflow.data.id
}
});
}
});
},


Loading…
Cancel
Save