Browse Source

Fix wrong API method names

Closes #8828.
adaptive-webui-19844
Vladimir Golovnev (Glassez) 7 years ago
parent
commit
85dd446198
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/webui/www/private/scripts/mocha-init.js
  2. 8
      src/webui/www/private/transferlist.html

2
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) { addClickEvent(item, function(e) {
new Event(e).stop(); new Event(e).stop();
setPriorityFN(item); setPriorityFN(item);

8
src/webui/www/private/transferlist.html

@ -43,16 +43,16 @@
renameFN(); renameFN();
}, },
prioTop: function(element, ref) { prioTop: function(element, ref) {
setPriorityFN('top_prio'); setPriorityFN('topPrio');
}, },
prioUp: function(element, ref) { prioUp: function(element, ref) {
setPriorityFN('increase_prio'); setPriorityFN('increasePrio');
}, },
prioDown: function(element, ref) { prioDown: function(element, ref) {
setPriorityFN('decrease_prio'); setPriorityFN('decreasePrio');
}, },
prioBottom: function(element, ref) { prioBottom: function(element, ref) {
setPriorityFN('bottom_prio'); setPriorityFN('bottomPrio');
}, },
DownloadLimit: function(element, ref) { DownloadLimit: function(element, ref) {

Loading…
Cancel
Save