add reload button to manage users dialog, fixes #685

This commit is contained in:
rolux 2012-03-20 07:19:03 +00:00
parent 72e7f0dc09
commit 5c983597c4

View file

@ -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