select correct tab in import/export dialog

This commit is contained in:
rlx 2016-01-16 15:51:48 +05:30
parent 4fc590b7ba
commit 5a3b5e8593
1 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ oml.ui.importExportDialog = function() {
min: 1,
max: 1,
selectable: true,
selected: selected,
style: 'squared'
style: 'squared',
value: selected,
})
.css({
width: '768px',
@ -78,7 +78,7 @@ oml.ui.importExportDialog = function() {
oml_page: function(data) {
if (Ox.contains(['import', 'export'], data.value)) {
selected = data.value;
$buttons.options({selected: selected});
$buttons.options({value: selected});
$innerPanel.options({selected: selected});
}
}