projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67814d7
)
vergessen für c4409b: Filter nach Namen für Buchungsvorlagen
author
Jan Büren
<jan@kivitendo-premium.de>
Fri, 27 Oct 2017 14:01:24 +0000
(16:01 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 30 Oct 2017 14:11:20 +0000
(15:11 +0100)
Ohne die Funktion 'filter_templates' in RecordTemplate.js macht
ein Aufruf dieser aus template/record_template/dialog.html gar
keinen Sinn.
js/kivi.RecordTemplate.js
patch
|
blob
|
history
diff --git
a/js/kivi.RecordTemplate.js
b/js/kivi.RecordTemplate.js
index
8318098
..
af84840
100644
(file)
--- a/
js/kivi.RecordTemplate.js
+++ b/
js/kivi.RecordTemplate.js
@@
-72,4
+72,12
@@
namespace('kivi.RecordTemplate', function(ns) {
id: id
}, kivi.eval_json_result);
};
+
+ ns.filter_templates = function() {
+ $.post('controller.pl', {
+ action: 'RecordTemplate/filter_templates',
+ template_filter: $("#template_filter").val(),
+ template_type: $("#record_template_dialog_template_type").val(),
+ }, kivi.eval_json_result);
+ };
});