From 5e283c37592c6b4dd1311f2a0fe11c37852fd01a Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 17 Aug 2011 15:20:17 +0000 Subject: [PATCH] fire toggleannotations event in video editor --- source/Ox.UI/js/Video/Ox.VideoEditor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Ox.UI/js/Video/Ox.VideoEditor.js b/source/Ox.UI/js/Video/Ox.VideoEditor.js index 4f9f22e7..d4297428 100644 --- a/source/Ox.UI/js/Video/Ox.VideoEditor.js +++ b/source/Ox.UI/js/Video/Ox.VideoEditor.js @@ -970,6 +970,9 @@ Ox.VideoEditor = function(options, self) { function toggleAnnotations(event, data) { self.options.showAnnotations = !data.collapsed; setSizes(); + that.triggerEvent('toggleAnnotations', { + visible: self.options.showAnnotations + }); } function toggleMuted() {