update theme
This commit is contained in:
parent
31091e3937
commit
81edf6ccd9
2 changed files with 4 additions and 2 deletions
|
@ -12,12 +12,13 @@
|
||||||
|
|
||||||
ApiClient.addMediaPath(virtualFolder.Name, path, refreshAfterChange).done(function () {
|
ApiClient.addMediaPath(virtualFolder.Name, path, refreshAfterChange).done(function () {
|
||||||
|
|
||||||
|
hasChanges = true;
|
||||||
refreshLibraryFromServer(page);
|
refreshLibraryFromServer(page);
|
||||||
|
|
||||||
}).fail(function () {
|
}).fail(function () {
|
||||||
|
|
||||||
Dashboard.showError(Globalize.translate('DefaultErrorMessage'));
|
Dashboard.showError(Globalize.translate('DefaultErrorMessage'));
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onRemoveClick() {
|
function onRemoveClick() {
|
||||||
|
@ -37,6 +38,7 @@
|
||||||
|
|
||||||
ApiClient.removeMediaPath(virtualFolder.Name, location, refreshAfterChange).done(function () {
|
ApiClient.removeMediaPath(virtualFolder.Name, location, refreshAfterChange).done(function () {
|
||||||
|
|
||||||
|
hasChanges = true;
|
||||||
refreshLibraryFromServer($(button).parents('.editorContent')[0]);
|
refreshLibraryFromServer($(button).parents('.editorContent')[0]);
|
||||||
|
|
||||||
}).fail(function () {
|
}).fail(function () {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lastSound == 0) {
|
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) {
|
} else if ((new Date().getTime() - lastSound) > 30000) {
|
||||||
playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav');
|
playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue