X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9fd5b006e7ab3119d659a3ddbee27a99b6b83b05..1f0d7da266e23a443c47aaa2dbab844e6be50ee4:/js/kivi.File.js diff --git a/js/kivi.File.js b/js/kivi.File.js index addacde82..11adf7646 100644 --- a/js/kivi.File.js +++ b/js/kivi.File.js @@ -170,6 +170,12 @@ namespace('kivi.File', function(ns) { return false; } + ns.delete_file = function(id,controller_action) { + $.post('controller.pl', { action: controller_action, id: id }, function(data) { + kivi.eval_json_result(data); + }); + }; + ns.unimport = function(id,type,file_type,checkbox_class) { var checkboxes = $('.'+checkbox_class).filter(function () { return $(this).prop('checked'); });