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

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

Loading…
Cancel
Save