From 81edf6ccd905a606002b188c8db9d294fecd65a5 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 16 Oct 2015 14:55:35 -0400 Subject: [PATCH] update theme --- .../components/medialibraryeditor/medialibraryeditor.js | 4 +++- dashboard-ui/themes/halloween/theme.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js index ee323e671..619d22879 100644 --- a/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js +++ b/dashboard-ui/components/medialibraryeditor/medialibraryeditor.js @@ -12,12 +12,13 @@ ApiClient.addMediaPath(virtualFolder.Name, path, refreshAfterChange).done(function () { + hasChanges = true; refreshLibraryFromServer(page); }).fail(function () { Dashboard.showError(Globalize.translate('DefaultErrorMessage')); - }) + }); } function onRemoveClick() { @@ -37,6 +38,7 @@ ApiClient.removeMediaPath(virtualFolder.Name, location, refreshAfterChange).done(function () { + hasChanges = true; refreshLibraryFromServer($(button).parents('.editorContent')[0]); }).fail(function () { diff --git a/dashboard-ui/themes/halloween/theme.js b/dashboard-ui/themes/halloween/theme.js index f20b5e954..98aa48da1 100644 --- a/dashboard-ui/themes/halloween/theme.js +++ b/dashboard-ui/themes/halloween/theme.js @@ -14,7 +14,7 @@ } if (lastSound == 0) { - playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/monsterparade.mp3', .1); + playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/monsterparadefade.mp3', .1); } else if ((new Date().getTime() - lastSound) > 30000) { playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav'); }