From e3919a72ed63d904b2a7639a326c1b5aec5f89c6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 22 Jan 2014 13:44:20 +0000 Subject: [PATCH] fix updating layers option of AnnotationPanel --- source/Ox.UI/js/Video/AnnotationPanel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Video/AnnotationPanel.js b/source/Ox.UI/js/Video/AnnotationPanel.js index d5852b0c..d66296d4 100644 --- a/source/Ox.UI/js/Video/AnnotationPanel.js +++ b/source/Ox.UI/js/Video/AnnotationPanel.js @@ -74,6 +74,8 @@ Ox.AnnotationPanel = function(options, self) { self.$folder.forEach(function($folder) { $folder.options(key, value); }); + } else if (key == 'layers') { + renderFolders(); } else if (key == 'selected') { self.options.editable && updateEditMenu(); if (value) {