mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
FEATURE: roll up function for 123.456.789.* ranges
This commit is contained in:
@@ -14,6 +14,14 @@ export default Ember.ArrayController.extend(Discourse.Presence, {
|
||||
actions: {
|
||||
recordAdded: function(arg) {
|
||||
this.get("model").unshiftObject(arg);
|
||||
},
|
||||
|
||||
rollUp: function() {
|
||||
var self = this;
|
||||
this.set("loading", true)
|
||||
return Discourse.ScreenedIpAddress.rollUp().then(function() {
|
||||
self.send("show");
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user