diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-20 17:05:30 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-20 17:05:30 +0100 |
commit | d4fabd4878050fdfea4e88dfe54eb90b4e35690f (patch) | |
tree | c276e53d6272a2fc9de57d01b4b4b7b66891a66e /module/web/static/js/app.js | |
parent | more animation for dashboard (diff) | |
download | pyload-d4fabd4878050fdfea4e88dfe54eb90b4e35690f.tar.xz |
tooltips and other improvements on webui
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); + } }); |