v1.18.x
psychobunny 10 years ago
parent ac2811be75
commit 548d39fac5

@ -1,6 +1,6 @@
"use strict";
/*globals define*/
/*globals define, app, socket*/
define('admin/modules/instance', function() {
var instance = {};
@ -36,7 +36,7 @@ define('admin/modules/instance', function() {
callback();
}
});
}
};
instance.restart = function(callback) {
app.alert({
@ -62,7 +62,7 @@ define('admin/modules/instance', function() {
});
socket.emit('admin.restart');
}
};
return instance;
});

Loading…
Cancel
Save