From 9fecd18293121a07ee3e4bb5e04fba685ccc8a84 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Tue, 6 Aug 2019 00:32:48 -0700 Subject: [PATCH] Fix incorrect function being used --- src/webui/www/private/newcategory.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/newcategory.html b/src/webui/www/private/newcategory.html index 8e2135ab2..b7ee60407 100644 --- a/src/webui/www/private/newcategory.html +++ b/src/webui/www/private/newcategory.html @@ -89,7 +89,7 @@ } }).send(); }, - onError: function() { + onFailure: function() { alert("QBT_TR(Unable to create category)QBT_TR[CONTEXT=HttpServer] " + window.qBittorrent.Misc.escapeHtml(categoryName)); } }).send();