1
0
Fork 0
forked from 0x2620/oxjs

misc fixes

This commit is contained in:
rolux 2012-01-02 19:35:14 +05:30
commit b77852296b
7 changed files with 28 additions and 44 deletions

View file

@ -90,14 +90,14 @@ Ox.Progressbar = function(options, self) {
if (self.options.showCancelButton) {
self.$cancelButton = Ox.Button(Ox.extend({
style: 'symbol',
tooltip: self.options.showRestartButton
? ['Cancel', 'Restart'] : 'Cancel',
type: 'image'
}, self.options.showRestartButton ? {
tooltip: ['Cancel', 'Restart'],
value: 'close',
values: ['close', 'redo']
} : {
title: 'close'
title: 'close',
tooltip: 'Cancel'
}))
.bindEvent({
click: toggleCancelled