FEATURE: roll up function for 123.456.789.* ranges

This commit is contained in:
Régis Hanol
2014-11-24 17:25:48 +01:00
parent a91d5fc726
commit 1023191315
10 changed files with 104 additions and 10 deletions
@@ -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");
});
}
}
});