projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WebshopApi: Übersetzungen
[kivitendo-erp.git]
/
js
/
kivi.File.js
diff --git
a/js/kivi.File.js
b/js/kivi.File.js
index
addacde
..
11adf76
100644
(file)
--- a/
js/kivi.File.js
+++ b/
js/kivi.File.js
@@
-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'); });