use new form element syntax

This commit is contained in:
rolux 2011-12-22 12:54:20 +05:30
commit 215f1f6c1b
11 changed files with 56 additions and 90 deletions

View file

@ -493,9 +493,9 @@ Ox.VideoEditor = function(options, self) {
.css({float: 'left'})
.bindEvent({
click: function() {
self.$goToPosterButton.toggleDisabled();
self.$setPosterButton.toggleDisabled();
self.$unlockPosterButton.toggleTitle();
self.$goToPosterButton.toggleOption('disabled');
self.$setPosterButton.toggleOption('disabled');
self.$unlockPosterButton.toggle();
}
})
.appendTo(self.$videobar);
@ -512,7 +512,7 @@ Ox.VideoEditor = function(options, self) {
.css({float: 'left'})
.bindEvent({
click: function() {
self.$setPosterButton.toggleDisabled();
self.$setPosterButton.toggleOption('disabled');
}
})
.appendTo(self.$videobar);
@ -632,9 +632,6 @@ Ox.VideoEditor = function(options, self) {
})
.css({float: 'left'})
.appendTo(self.$annotationsbar);
self.$annotationsMenuButton.find('input').attr({
src: Ox.UI.getImageURL('symbolSet')
});
that.$element = Ox.SplitPanel({
elements: [