update main menu, app dialog, update dialog
This commit is contained in:
parent
53766116c9
commit
5f37f27b9d
6 changed files with 34 additions and 17 deletions
|
|
@ -7,7 +7,7 @@ oml.ui.appDialog = function() {
|
|||
tabs = Ox.getObjectById(oml.config.pages, 'app').parts.map(function(tab) {
|
||||
return {
|
||||
id: tab.id,
|
||||
title: tab.title.replace(/ Open Media Library$/, ''),
|
||||
title: tab.title,
|
||||
selected: tab.id == ui.part.app
|
||||
};
|
||||
}),
|
||||
|
|
@ -142,8 +142,20 @@ oml.ui.appDialog = function() {
|
|||
|
||||
that = Ox.Dialog({
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
id: 'update',
|
||||
style: 'squared',
|
||||
title: Ox._('Software Update...')
|
||||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
oml.UI.set({page: 'update'});
|
||||
}
|
||||
}),
|
||||
{},
|
||||
Ox.Button({
|
||||
id: 'close',
|
||||
style: 'squared',
|
||||
title: Ox._('Close')
|
||||
}).bindEvent({
|
||||
click: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue