add reload button to manage users dialog, fixes #685
This commit is contained in:
parent
72e7f0dc09
commit
5c983597c4
1 changed files with 14 additions and 1 deletions
|
@ -9,11 +9,23 @@ pandora.ui.usersDialog = function() {
|
|||
formWidth = 256,
|
||||
numberOfUsers = 0,
|
||||
|
||||
$reloadButton = Ox.Button({
|
||||
title: 'redo',
|
||||
tooltip: 'Reload',
|
||||
type: 'image'
|
||||
})
|
||||
.css({float: 'left', margin: '4px 2px 4px 4px'})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
$list.reloadList(true);
|
||||
}
|
||||
}),
|
||||
|
||||
$guestsCheckbox = Ox.Checkbox({
|
||||
title: 'Show Guests',
|
||||
value: false
|
||||
})
|
||||
.css({float: 'left', margin: '4px'})
|
||||
.css({float: 'left', margin: '4px 4px 4px 2px'})
|
||||
.bindEvent({
|
||||
change: updateList
|
||||
}),
|
||||
|
@ -320,6 +332,7 @@ pandora.ui.usersDialog = function() {
|
|||
elements: [
|
||||
{
|
||||
element: Ox.Bar({size: 24})
|
||||
.append($reloadButton)
|
||||
.append($guestsCheckbox)
|
||||
.append($findElement),
|
||||
size: 24
|
||||
|
|
Loading…
Reference in a new issue