prepare public api

This commit is contained in:
j 2019-01-17 16:00:22 +05:30
commit dd0e22a979
18 changed files with 237 additions and 94 deletions

View file

@ -16,6 +16,7 @@ oml.ui.userDialog = function() {
title: Ox._('Preferences'),
selected: ui.page == 'preferences'
},
].concat(oml.readOnly ? [] : [
{
id: 'peers',
title: Ox._('Peers'),
@ -26,7 +27,7 @@ oml.ui.userDialog = function() {
title: Ox._('Transfers'),
selected: ui.page == 'transfers'
}
]
])
})
.bindEvent({
change: function(data) {
@ -70,4 +71,4 @@ oml.ui.userDialog = function() {
return that;
};
};