forked from 0x2620/oxjs
video editor update
This commit is contained in:
parent
ba9423462f
commit
88f31a5ae3
10 changed files with 245 additions and 65 deletions
|
|
@ -85,14 +85,12 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
selected: self.options.selected,
|
||||
sort: self.sort,
|
||||
submitOnBlur: false,
|
||||
width: self.options.width,
|
||||
width: self.options.type == 'text' ? self.options.width + 8 : self.options.width,
|
||||
type: self.options.type == 'text' ? 'textarea' : 'input'
|
||||
})
|
||||
.bindEvent({
|
||||
add: function(data) {
|
||||
that.triggerEvent('add', {
|
||||
value: data.value || ''
|
||||
});
|
||||
that.triggerEvent('add', {value: data.value || ''});
|
||||
},
|
||||
blur: function() {
|
||||
that.triggerEvent('blur');
|
||||
|
|
@ -196,6 +194,10 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
self.$annotations.blurItem();
|
||||
};
|
||||
|
||||
that.editItem = function(id) {
|
||||
self.$annotations.editItem(id);
|
||||
};
|
||||
|
||||
/*@
|
||||
removeItems <f> removeItems
|
||||
@*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue