From: Bernd Bleßmann Date: Wed, 31 Aug 2016 12:27:39 +0000 (+0200) Subject: Kreditoren- und Debitorenbuchung: Erneuern per JS bei Wechsel des Beleg-Projekts X-Git-Tag: release-3.5.4~2113 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=61e3b1aa799b08f87b4e999971e75ed2b4f49e40;p=kivitendo-erp.git Kreditoren- und Debitorenbuchung: Erneuern per JS bei Wechsel des Beleg-Projekts behebt #207 (redmine) --- 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();") %]