mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-25 13:33:51 -04:00
use group.get as per PR comment
This commit is contained in:
parent
9616767bff
commit
a0465485b4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue