From: Sven Schöling Date: Wed, 3 Mar 2010 10:55:16 +0000 (+0100) Subject: Autocomplete wieder entfernt. X-Git-Tag: release-2.6.1beta1~44^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b7067f51a92af13c631333f093df50e97a1caed3;p=kivitendo-erp.git Autocomplete wieder entfernt. Grund: Die Idee an sich sieht gut aus, hat aber im Moment technische Schwächen, die erst mit Entwicklungen der nächsten Serie behoben sein werden. Da Autocompletion bis dahin de facto wertlos ist fliegt es erstmal raus. Das Javascript bleibt als Ressource weiter im Quelltext, wird aber nicht ausgeliefert. --- diff --git a/SL/Form.pm b/SL/Form.pm index 9417e76c6..715385154 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -636,7 +636,6 @@ sub header { $jsscript = qq| - diff --git a/templates/webpages/ap/search_de.html b/templates/webpages/ap/search_de.html index 4d90314b2..37ca33849 100644 --- a/templates/webpages/ap/search_de.html +++ b/templates/webpages/ap/search_de.html @@ -23,10 +23,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="vendor"]', params => { vc => 'vendor' } }, -] -%] diff --git a/templates/webpages/ap/search_master.html b/templates/webpages/ap/search_master.html index 1b53f753a..90d7667a1 100644 --- a/templates/webpages/ap/search_master.html +++ b/templates/webpages/ap/search_master.html @@ -23,10 +23,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="vendor"]', params => { vc => 'vendor' } }, -] -%] diff --git a/templates/webpages/ar/search_de.html b/templates/webpages/ar/search_de.html index 0e74a58cc..a6bf91010 100644 --- a/templates/webpages/ar/search_de.html +++ b/templates/webpages/ar/search_de.html @@ -23,10 +23,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="customer"]', params => { vc => 'customer' } }, -] -%] diff --git a/templates/webpages/ar/search_master.html b/templates/webpages/ar/search_master.html index 2b11400fd..250cfd9eb 100644 --- a/templates/webpages/ar/search_master.html +++ b/templates/webpages/ar/search_master.html @@ -23,10 +23,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="customer"]', params => { vc => 'customer' } }, -] -%] diff --git a/templates/webpages/do/form_header_de.html b/templates/webpages/do/form_header_de.html index 289f57b22..a29e0e969 100644 --- a/templates/webpages/do/form_header_de.html +++ b/templates/webpages/do/form_header_de.html @@ -108,10 +108,6 @@ [%- UNLESS !delivered && SHOW_VC_DROP_DOWN %] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- ELSE %] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- ELSE %] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- ELSE %] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- ELSE %] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] diff --git a/templates/webpages/ir/form_header_master.html b/templates/webpages/ir/form_header_master.html index c092782fd..770fcaf71 100644 --- a/templates/webpages/ir/form_header_master.html +++ b/templates/webpages/ir/form_header_master.html @@ -43,10 +43,6 @@ allow_textbox = 1, onChange = "document.getElementById('update_button').click();" -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] diff --git a/templates/webpages/is/form_header_de.html b/templates/webpages/is/form_header_de.html index 04ae713ea..9a1af4a28 100644 --- a/templates/webpages/is/form_header_de.html +++ b/templates/webpages/is/form_header_de.html @@ -43,10 +43,6 @@ allow_textbox = 1, onChange = "document.getElementById('update_button').click();" -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] diff --git a/templates/webpages/is/form_header_master.html b/templates/webpages/is/form_header_master.html index 13ce08d6a..eb2be4e07 100644 --- a/templates/webpages/is/form_header_master.html +++ b/templates/webpages/is/form_header_master.html @@ -43,10 +43,6 @@ allow_textbox = 1, onChange = "document.getElementById('update_button').click();" -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] diff --git a/templates/webpages/oe/form_header_de.html b/templates/webpages/oe/form_header_de.html index a42fd0e34..ba4bd1b0a 100644 --- a/templates/webpages/oe/form_header_de.html +++ b/templates/webpages/oe/form_header_de.html @@ -47,10 +47,6 @@ onChange = "document.getElementById('update_button').click();" -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- IF ALL_CONTACTS.size %] diff --git a/templates/webpages/oe/form_header_master.html b/templates/webpages/oe/form_header_master.html index 0060854be..27ae25031 100644 --- a/templates/webpages/oe/form_header_master.html +++ b/templates/webpages/oe/form_header_master.html @@ -47,10 +47,6 @@ onChange = "document.getElementById('update_button').click();" -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- IF ALL_CONTACTS.size %] diff --git a/templates/webpages/oe/sales_order_de.html b/templates/webpages/oe/sales_order_de.html index a64c474a0..fef6e59f0 100644 --- a/templates/webpages/oe/sales_order_de.html +++ b/templates/webpages/oe/sales_order_de.html @@ -28,8 +28,3 @@ -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ic.pl', column => 'description', selector => '[name^="description_"]' }, - { script => 'ic.pl', column => 'partnumber', selector => '[name^="partnumber_"]' }, -] -%] diff --git a/templates/webpages/oe/sales_order_master.html b/templates/webpages/oe/sales_order_master.html index 18e99b500..5f7df7df8 100644 --- a/templates/webpages/oe/sales_order_master.html +++ b/templates/webpages/oe/sales_order_master.html @@ -28,8 +28,3 @@ -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ic.pl', column => 'description', selector => '[name^="description_"]' }, - { script => 'ic.pl', column => 'partnumber', selector => '[name^="partnumber_"]' }, -] -%] diff --git a/templates/webpages/oe/search_de.html b/templates/webpages/oe/search_de.html index 9a70bf6ea..0ebe9e01c 100644 --- a/templates/webpages/oe/search_de.html +++ b/templates/webpages/oe/search_de.html @@ -26,10 +26,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- IF ALL_DEPARTMENTS.size %] diff --git a/templates/webpages/oe/search_master.html b/templates/webpages/oe/search_master.html index e7fcc7745..cc0a2cbf3 100644 --- a/templates/webpages/oe/search_master.html +++ b/templates/webpages/oe/search_master.html @@ -26,10 +26,6 @@ show_empty = 1, allow_textbox = 1, -%] -[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, -] -%] [%- IF ALL_DEPARTMENTS.size %]