diff options
Diffstat (limited to 'module/web/static/js/app.js')
-rw-r--r-- | module/web/static/js/app.js | 5 |
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); + } }); |