forked from 0x2620/oxjs
misc fixes
This commit is contained in:
parent
7ca9a4a9e7
commit
b77852296b
7 changed files with 28 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue