]> wagnertech.de Git - mfinanz.git/blobdiff - js/kivi.File.js
Datenbankupgrades: unbekannte Control-Felder als Fehler werten
[mfinanz.git] / js / kivi.File.js
index addacde8286f7326f3da3ff05ba45c5d8b98aaf2..11adf7646d3f434ed3bdf2a7b3e51320fbe1ff22 100644 (file)
@@ -170,6 +170,12 @@ namespace('kivi.File', function(ns) {
     return false;
   }
 
     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'); });
 
   ns.unimport = function(id,type,file_type,checkbox_class) {
     var checkboxes = $('.'+checkbox_class).filter(function () { return  $(this).prop('checked'); });