From 7b2acb3bc18198fb6990973df822073814d8f1b8 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 31 Mar 2018 14:00:52 +0530 Subject: [PATCH] update UI/URL after adding annotation, editing i/o does not work otherwise --- static/js/editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/editor.js b/static/js/editor.js index 3e229963..16ff36da 100644 --- a/static/js/editor.js +++ b/static/js/editor.js @@ -194,6 +194,7 @@ pandora.ui.editor = function(data) { }); } that.updateAnnotation(data.id, result.data); + pandora.UI.set('videoPoints.' + ui.item + '.annotation', result.data.id.split('/')[1] || ''); Ox.Request.clearCache(); }; if (data.id[0] == '_') {