prepare public api
This commit is contained in:
parent
507b6fed3e
commit
dd0e22a979
18 changed files with 237 additions and 94 deletions
|
|
@ -25,12 +25,13 @@ oml.ui.appDialog = function() {
|
|||
title: Ox._('Software Development'),
|
||||
selected: ui.page == 'development'
|
||||
},
|
||||
].concat(oml.readOnly ? [] : [
|
||||
{
|
||||
id: 'contact',
|
||||
title: Ox._('Send Feedback'),
|
||||
selected: ui.page == 'contact'
|
||||
}
|
||||
],
|
||||
]),
|
||||
|
||||
$panel = Ox.TabPanel({
|
||||
content: function(id) {
|
||||
|
|
@ -95,7 +96,7 @@ oml.ui.appDialog = function() {
|
|||
}),
|
||||
|
||||
that = Ox.Dialog({
|
||||
buttons: [
|
||||
buttons: (oml.readOnly ? [] : [
|
||||
Ox.Button({
|
||||
id: 'update',
|
||||
style: 'squared',
|
||||
|
|
@ -106,6 +107,7 @@ oml.ui.appDialog = function() {
|
|||
oml.UI.set({page: 'update'});
|
||||
}
|
||||
}),
|
||||
]).concat([
|
||||
{},
|
||||
Ox.Button({
|
||||
id: 'close',
|
||||
|
|
@ -116,7 +118,7 @@ oml.ui.appDialog = function() {
|
|||
that.close();
|
||||
}
|
||||
})
|
||||
],
|
||||
]),
|
||||
closeButton: true,
|
||||
content: $panel,
|
||||
fixedSize: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue