Skip to content

Commit

Permalink
Merge pull request #22 from Legogris/fix-settabs
Browse files Browse the repository at this point in the history
Fix tabs rendering
  • Loading branch information
oddstr13 authored Nov 18, 2020
2 parents 9314052 + 642ee88 commit 89572fc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('playback_reporting', 2, getTabs);
LibraryMenu.setTabs('playback_reporting', 2, getTabs);

require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) {

Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.PlaybackReporting/Pages/custom_query.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('custom_query', 5, getTabs);
LibraryMenu.setTabs('custom_query', 5, getTabs);

var run_custom_query = view.querySelector('#run_custom_query');
run_custom_query.addEventListener("click", runQuery);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('Jellyfin.Plugin.PlaybackReporting', 4, getTabs);
LibraryMenu.setTabs('Jellyfin.Plugin.PlaybackReporting', 4, getTabs);

require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('playback_reporting', 3, getTabs);
LibraryMenu.setTabs('playback_reporting', 3, getTabs);

require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('playplayback_report_settingsback_reporting', 6, getTabs);
LibraryMenu.setTabs('playplayback_report_settingsback_reporting', 6, getTabs);

var set_backup_path = view.querySelector('#set_backup_path');
set_backup_path.addEventListener("click", setBackupPathPicker);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ define(['libraryMenu'], function (libraryMenu) {
// https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.min.js
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('playback_reporting', 1, getTabs);
LibraryMenu.setTabs('playback_reporting', 1, getTabs);

require([Dashboard.getConfigurationResourceUrl('Chart.bundle.min.js')], function (d3) {

Expand Down
2 changes: 1 addition & 1 deletion Jellyfin.Plugin.PlaybackReporting/Pages/user_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ define(['libraryMenu'], function (libraryMenu) {
// init code here
view.addEventListener('viewshow', function (e) {

libraryMenu.setTabs('user_report', 0, getTabs);
LibraryMenu.setTabs('user_report', 0, getTabs);

var end_date = view.querySelector('#end_date');
end_date.value = new Date().toDateInputValue();
Expand Down

0 comments on commit 89572fc

Please sign in to comment.