From 667f84995cbc7f2f92eb03a8752d19f7fca27ee7 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Mon, 7 May 2018 17:45:50 +0300 Subject: [PATCH] Fix wrong API method names Closes #8828. --- src/webui/www/private/scripts/mocha-init.js | 2 +- src/webui/www/private/transferlist.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index ff316caff..3b18b8145 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -633,7 +633,7 @@ initializeWindows = function() { }); }); - ['decrease_prio', 'increase_prio', 'top_prio', 'bottom_prio'].each(function(item) { + ['decreasePrio', 'increasePrio', 'topPrio', 'bottomPrio'].each(function(item) { addClickEvent(item, function(e) { new Event(e).stop(); setPriorityFN(item); diff --git a/src/webui/www/private/transferlist.html b/src/webui/www/private/transferlist.html index 5e2fb089c..ca864f81a 100644 --- a/src/webui/www/private/transferlist.html +++ b/src/webui/www/private/transferlist.html @@ -43,16 +43,16 @@ renameFN(); }, prioTop: function(element, ref) { - setPriorityFN('top_prio'); + setPriorityFN('topPrio'); }, prioUp: function(element, ref) { - setPriorityFN('increase_prio'); + setPriorityFN('increasePrio'); }, prioDown: function(element, ref) { - setPriorityFN('decrease_prio'); + setPriorityFN('decreasePrio'); }, prioBottom: function(element, ref) { - setPriorityFN('bottom_prio'); + setPriorityFN('bottomPrio'); }, DownloadLimit: function(element, ref) {