listnames

This commit is contained in:
j 2014-05-25 22:59:03 +02:00
parent 81279f4ed2
commit c66573b752
2 changed files with 4 additions and 2 deletions

View File

@ -368,7 +368,7 @@ oml.ui.importExportDialog = function(selected) {
)
: !data.progress[0] && data.progress[1] ? Ox._('Scanning: {0} found.', [total])
: data.progress[0] ? Ox._(selected == 'import' ? 'Importing:' : 'Exporting')
+ ' ' + Ox._('{0} of {1}', [data.progress[0], total])
+ ' ' + Ox._('{0} of {1}', [Ox.formatNumber(data.progress[0]), total])
: '';
$status[data.activity].html(status);
}

View File

@ -75,7 +75,9 @@ oml.ui.listDialog = function() {
$nameInput.value(value);
// FIXME: UGLY
listNames[listNames.indexOf(listData.name)] = value;
listData.id = ':' + value;
listData.name = value;
listData.title = value;
// ...
oml.api.editList({
id: ui._list,
@ -91,7 +93,7 @@ oml.ui.listDialog = function() {
}],
operator: '&'
}
}, false);
}/*, false*/); // FIXME: ui._lists still outdated
});
});
}