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:
e9e0b17
)
customer_picker: name leer lassen, damit es nicht mit assign_attributes kollidiert
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 15 Jan 2014 11:51:22 +0000
(12:51 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 15 Jan 2014 11:52:06 +0000
(12:52 +0100)
SL/Template/Plugin/L.pm
patch
|
blob
|
history
diff --git
a/SL/Template/Plugin/L.pm
b/SL/Template/Plugin/L.pm
index
0c3fe74
..
2411416
100644
(file)
--- a/
SL/Template/Plugin/L.pm
+++ b/
SL/Template/Plugin/L.pm
@@
-247,7
+247,7
@@
sub customer_picker {
$::request->{layout}->add_javascripts('autocomplete_customer.js');
$self->hidden_tag($name, (ref $value && $value->can('id') ? $value->id : ''), class => 'customer_autocomplete') .
- $self->input_tag(
"$name_e\_name", (ref $value && $value->can('name')) ? $value->name : ''
, %params);
+ $self->input_tag(
'', (ref $value && $value->can('name')) ? $value->name : '', id => $self->name_to_id("$name_e\_name")
, %params);
}
# simple version with select_tag