From d4fabd4878050fdfea4e88dfe54eb90b4e35690f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 Feb 2013 17:05:30 +0100 Subject: tooltips and other improvements on webui --- module/web/static/js/app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/web/static/js/app.js') 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); + } }); -- cgit v1.2.3