1
0
Fork 0
forked from 0x2620/oxjs

update video editor and css

This commit is contained in:
rlx 2012-01-11 13:22:01 +05:30
commit e4dd393834
5 changed files with 65 additions and 9 deletions

View file

@ -22,6 +22,7 @@ Ox.AnnotationPanel = function(options, self) {
self = self || {};
var that = Ox.Element({}, self)
.defaults({
collapsed: false,
editable: false,
id: '',
items: [],
@ -50,7 +51,7 @@ Ox.AnnotationPanel = function(options, self) {
that.setElement(
Ox.CollapsePanel({
collapsed: false,
collapsed: self.options.collapsed,
extras: self.options.editable ? [
Ox.Button({
id: 'add',
@ -147,7 +148,8 @@ Ox.AnnotationPanel = function(options, self) {
}
function togglePanel() {
self.options.collapsed = !self.options.collapsed;
that.triggerEvent('toggle', {collapsed: self.options.collapsed});
}
self.setOption = function(key, value) {