This commit is contained in:
2020-06-25 13:36:53 +00:00
parent e4836a7396
commit 186d4858fa
2 changed files with 11 additions and 3 deletions

View File

@@ -5,9 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
todo: Administration - translation
- Replace function
Search and replace
todo: Administration - translation
- Export function (download as file I guess)
On Translation editor form
- Import function

View File

@@ -507,6 +507,9 @@ async function clickHandler(menuItem) {
case "replace":
m.vm.replaceDialog = true;
break;
case "export":
alert("download stub");
break;
case "delete":
m.vm.remove();
break;
@@ -633,6 +636,13 @@ function generateMenu(vm) {
});
}
menuOptions.menuItems.push({
title: "Export",
icon: "fa-file-download",
key: FORM_KEY + ":export",
vm: vm
});
window.$gz.eventBus.$emit("menu-change", menuOptions);
}