This commit is contained in:
j 2016-01-14 14:29:11 +05:30
commit d54f524953
4 changed files with 109 additions and 7 deletions

View file

@ -331,7 +331,7 @@ oml.ui.importExportDialog = function() {
);
$innerPanel.replaceElement(0,
renderActivity({
activity: 'import',
activity: selected,
path: data.path,
progress: [0, 0]
})
@ -341,7 +341,7 @@ oml.ui.importExportDialog = function() {
if (result) {
data.list = result.data.id
}
oml.api.import({
oml.api[selected]({
list: data.list,
mode: data.mode,
path: data.path,