forked from 0x2620/pandora
reload user dialog after close
This commit is contained in:
parent
2f01ab0aa2
commit
ed06db651e
2 changed files with 6 additions and 5 deletions
|
@ -274,9 +274,7 @@ pandora.ui.mainMenu = function() {
|
|||
pandora.$ui.eventsDialog = pandora.ui.eventsDialog()
|
||||
)).open();
|
||||
} else if (data.id == 'users') {
|
||||
(pandora.$ui.usersDialog || (
|
||||
pandora.$ui.usersDialog = pandora.ui.usersDialog())
|
||||
).open();
|
||||
pandora.$ui.usersDialog = pandora.ui.usersDialog().open();
|
||||
} else if (data.id == 'resetfilters') {
|
||||
pandora.UI.set({
|
||||
filters: pandora.site.user.ui.filters
|
||||
|
|
|
@ -277,10 +277,11 @@ pandora.ui.usersDialog = function() {
|
|||
return item.username + ' <' + item.email + '>';
|
||||
}).join(', ')
|
||||
),
|
||||
removeOnClose: true,
|
||||
title: 'E-Mail Addresses'
|
||||
})
|
||||
.open()
|
||||
})
|
||||
.open();
|
||||
});
|
||||
}
|
||||
}),
|
||||
Ox.Button({
|
||||
|
@ -289,6 +290,7 @@ pandora.ui.usersDialog = function() {
|
|||
width: 48
|
||||
}).bindEvent({
|
||||
click: function() {
|
||||
Ox.Request.clearCache('findUsers');
|
||||
that.close();
|
||||
}
|
||||
})
|
||||
|
@ -338,6 +340,7 @@ pandora.ui.usersDialog = function() {
|
|||
minHeight: 256,
|
||||
minWidth: 512,
|
||||
padding: 0,
|
||||
removeOnClose: true,
|
||||
title: 'Manage Users',
|
||||
width: width
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue