From 61e3b1aa799b08f87b4e999971e75ed2b4f49e40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 31 Aug 2016 14:27:39 +0200 Subject: [PATCH] Kreditoren- und Debitorenbuchung: Erneuern per JS bei Wechsel des Beleg-Projekts behebt #207 (redmine) --- templates/webpages/ap/form_header.html | 2 +- templates/webpages/ar/form_header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index af3b7e818..07e3188d8 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -187,7 +187,7 @@ [% 'Project Number' | $T8 %] - [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber') %] + [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber', onChange = "document.getElementById('update_button').click();") %] diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index c779a0d71..285ee672a 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -151,7 +151,7 @@ [% 'Project Number' | $T8 %] - [% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1) %] + [% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1, onChange = "document.getElementById('update_button').click();") %] -- 2.20.1