From 7eae1cf6e50e9ddb607bf63e408e4c0b61055980 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 25 Jan 2025 10:46:39 +0530 Subject: [PATCH] open task dialog --- static/js/editor.js | 1 + static/js/tasksDialog.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/editor.js b/static/js/editor.js index 70cc2e3e..0138f239 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -455,6 +455,7 @@ pandora.ui.editor = function(data) { pandora.api.transcribeAudio({ item: pandora.user.ui.item }) + pandora.ui.tasksDialog().open(); } }) ], diff --git a/static/js/tasksDialog.js b/static/js/tasksDialog.js index dc5ec8fd..e2582cc6 100644 --- a/static/js/tasksDialog.js +++ b/static/js/tasksDialog.js @@ -79,7 +79,8 @@ pandora.ui.tasksDialog = function(options) { 'processing': 'Processing', 'canceled': 'Canceled', 'failed': 'Failed', - 'finished': 'Finished' + 'finished': 'Finished', + 'transcribing': 'Transcribing' }[value] || value; }, id: 'status',