mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-18 22:54:55 +00:00
(feat) add single export/save as actions
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
vm.reset = reset;
|
||||
vm.cancel = cancel;
|
||||
vm.confirmDelete = confirmDelete;
|
||||
vm.exportCard = exportCard;
|
||||
vm.viewRawSource = viewRawSource;
|
||||
|
||||
function addOrgUnit() {
|
||||
@@ -123,6 +124,10 @@
|
||||
});
|
||||
}
|
||||
|
||||
function exportCard() {
|
||||
window.location.href = ApplicationBaseURL + '/' + vm.currentFolder.id + '/export?uid=' + vm.card.id;
|
||||
}
|
||||
|
||||
function viewRawSource($event) {
|
||||
Card.$$resource.post(vm.currentFolder.id + '/' + vm.card.id, "raw").then(function(data) {
|
||||
$mdDialog.show({
|
||||
|
||||
Reference in New Issue
Block a user