mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Wait until servers are reloaded
This commit is contained in:
parent
7d11af4633
commit
8ed68c0a4d
@ -29,8 +29,9 @@ define(function (require) {
|
||||
this.model.save({}, {
|
||||
success: function() {
|
||||
modal.close();
|
||||
self.servers.fetch();
|
||||
self.servers.fetch({success : function () {
|
||||
Backbone.history.navigate('#servers/' + self.model.get('id'), true);
|
||||
}});
|
||||
},
|
||||
error: function() {
|
||||
alert("Error :(");
|
||||
|
Loading…
Reference in New Issue
Block a user