X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/54ce51443886623bb785e7c54492ecbc8dc9b3aa..65922b0d6c4a14e29354f65c60dea2176d10f941:/js/kivi.File.js diff --git a/js/kivi.File.js b/js/kivi.File.js index 036cefee6..68ef7ac52 100644 --- a/js/kivi.File.js +++ b/js/kivi.File.js @@ -235,6 +235,18 @@ namespace('kivi.File', function(ns) { return true; } + ns.downloadOrderitemsFiles = function(type,id) { + var data = { + action: 'DownloadZip/download_orderitems_files', + object_type: type, + object_id: id, + element_type: 'part', + zipname: 'Order_Files_'+id, + }; + $.download("controller.pl", data); + return false; + } + ns.init = function() { }