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();