From e917c371d9c3862678535a33cefefdff70fc7795 Mon Sep 17 00:00:00 2001 From: thalieht Date: Fri, 28 Dec 2018 19:51:17 +0200 Subject: [PATCH] Use camelCase for a few WebUI vars --- src/webui/www/private/filters.html | 14 ++--- src/webui/www/private/index.html | 58 +++++++++---------- src/webui/www/private/scripts/client.js | 6 +- src/webui/www/private/scripts/contextmenu.js | 60 ++++++++++---------- src/webui/www/private/transferlist.html | 40 ++++++------- 5 files changed, 89 insertions(+), 89 deletions(-) diff --git a/src/webui/www/private/filters.html b/src/webui/www/private/filters.html index 7af5eaaa0..112a20356 100644 --- a/src/webui/www/private/filters.html +++ b/src/webui/www/private/filters.html @@ -29,25 +29,25 @@ targets: '.categoriesFilterContextMenuTarget', menu: 'categoriesFilterMenu', actions: { - CreateCategory: function(element, ref) { + createCategory: function(element, ref) { createCategoryFN(); }, - EditCategory: function(element, ref) { + editCategory: function(element, ref) { editCategoryFN(element.id); }, - DeleteCategory: function(element, ref) { + deleteCategory: function(element, ref) { removeCategoryFN(element.id); }, - DeleteUnusedCategories: function(element, ref) { + deleteUnusedCategories: function(element, ref) { deleteUnusedCategoriesFN(); }, - StartTorrentsByCategory: function(element, ref) { + startTorrentsByCategory: function(element, ref) { startTorrentsByCategoryFN(element.id); }, - PauseTorrentsByCategory: function(element, ref) { + pauseTorrentsByCategory: function(element, ref) { pauseTorrentsByCategoryFN(element.id); }, - DeleteTorrentsByCategory: function(element, ref) { + deleteTorrentsByCategory: function(element, ref) { deleteTorrentsByCategoryFN(element.id); } }, diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index dd09fb583..90dda35d0 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -119,50 +119,50 @@