mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:24:55 +00:00
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…
x
Reference in New Issue
Block a user