1
0
Fork 0
forked from 0x2620/oxjs

make video editor and player trigger find events

This commit is contained in:
rlx 2011-10-30 09:49:58 +00:00
commit 462b335416
2 changed files with 7 additions and 2 deletions

View file

@ -521,7 +521,7 @@ Ox.VideoEditor = function(options, self) {
value: self.options.find,
width: 96
})
.css({float: 'right'})
.css({float: 'right', background: 'transparent'})
.bindEvent({
change: function(data) {
submitFindInput(data.value, false);
@ -531,7 +531,7 @@ Ox.VideoEditor = function(options, self) {
}
})
.appendTo(self.$videobar);
self.$findInput.find('input').css({background: 'transparent'});
self.$findInput.find('input').css({background: 'rgb(48, 48, 48)'});
self.$findButton = Ox.Button({
//disabled: true,
@ -988,6 +988,7 @@ Ox.VideoEditor = function(options, self) {
self.results.length ?
setPosition(getNextPosition('result', 1)) :
self.$findInput.focusInput();
that.triggerEvent('find', {find: self.options.find});
}
}