From 15bacdc9d65909c337c20ee30a25d1abeebf23de Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 4 Apr 2020 11:28:52 +0200 Subject: [PATCH] Fixed missing vendor js compile --- scripts/build.sh | 7 +++++++ shared/js/connection/CommandHelper.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 3b9fc838..d3e472e7 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -63,6 +63,13 @@ if [[ $_exit_code -ne 0 ]]; then exit 1 fi +echo "Compile vendor emoji-picker" +execute_tsc ./vendor/emoji-picker/src/jquery.lsxemojipicker.ts +if [[ $_exit_code -ne 0 ]]; then + echo "Failed to build the emoji-picker vendor" + exit 1 +fi + if [[ "$build_type" == "release" ]]; then # Compile everything for release mode echo "Packing generated css files" chmod +x ./shared/css/generate_packed.sh diff --git a/shared/js/connection/CommandHelper.ts b/shared/js/connection/CommandHelper.ts index 6685c841..16cbdace 100644 --- a/shared/js/connection/CommandHelper.ts +++ b/shared/js/connection/CommandHelper.ts @@ -263,6 +263,7 @@ export class CommandHelper extends AbstractCommandHandler { } request_playlist_songs(playlist_id: number) : Promise { + //FIXME: notifyplaylistsonglistfinish for the result! return new Promise((resolve, reject) => { const single_handler: SingleCommandHandler = { command: "notifyplaylistsonglist",