summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/app.js')
-rw-r--r--module/web/static/js/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/web/static/js/app.js b/module/web/static/js/app.js
index d39ef6a63..dcc9594af 100644
--- a/module/web/static/js/app.js
+++ b/module/web/static/js/app.js
@@ -27,6 +27,11 @@ define([
// Add Global Helper functions
_.extend(Application.prototype, Backbone.Events, {
+ restartFailed: function(pids, options) {
+ options || (options = {});
+ options.url = 'api/restartFailed';
+ $.ajax(options);
+ }
});