make jshint happy ❤️
This commit is contained in:
parent
060cda7772
commit
47c4179e29
|
@ -56,7 +56,7 @@ Discourse.Group = Discourse.Model.extend({
|
||||||
}).then(function() {
|
}).then(function() {
|
||||||
// reload member list
|
// reload member list
|
||||||
self.findMembers();
|
self.findMembers();
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
asJSON: function() {
|
asJSON: function() {
|
||||||
|
@ -79,7 +79,7 @@ Discourse.Group = Discourse.Model.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function(){
|
destroy: function(){
|
||||||
if (!this.get('id')) { return };
|
if (!this.get('id')) { return; }
|
||||||
return Discourse.ajax("/admin/groups/" + this.get('id'), { type: "DELETE" });
|
return Discourse.ajax("/admin/groups/" + this.get('id'), { type: "DELETE" });
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue