use group.get as per PR comment
This commit is contained in:
parent
9616767bff
commit
a0465485b4
|
@ -41,7 +41,7 @@ Discourse.Group = Discourse.Model.extend({
|
|||
var group = this;
|
||||
group.set('disableSave', true);
|
||||
|
||||
return Discourse.ajax("/admin/groups/" + group.id, {type: "DELETE"})
|
||||
return Discourse.ajax("/admin/groups/" + group.get('id'), {type: "DELETE"})
|
||||
.then(function(){
|
||||
return true;
|
||||
}, function(jqXHR, status, error) {
|
||||
|
|
Loading…
Reference in New Issue