projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenhefte bearbeiten
[kivitendo-erp.git]
/
templates
/
webpages
/
part
/
part_picker_search.html
diff --git
a/templates/webpages/part/part_picker_search.html
b/templates/webpages/part/part_picker_search.html
index
a3cf406
..
bf1090b
100644
(file)
--- a/
templates/webpages/part/part_picker_search.html
+++ b/
templates/webpages/part/part_picker_search.html
@@
-3,10
+3,9
@@
[%- USE LxERP %]
[%- USE T8 %]
[%- USE LxERP %]
[%- USE T8 %]
-<h1>[% 'Part picker' | $T8 %]</h1>
<div style='overflow:hidden'>
<div style='overflow:hidden'>
-[% L.input_tag('part_picker_filter', SELF.filter.all_substr__ilike, class='part_picker_filter') %]
+[% L
xERP.t8("Filter") %]: [% L
.input_tag('part_picker_filter', SELF.filter.all_substr__ilike, class='part_picker_filter') %]
[% L.hidden_tag('part_picker_real_id', FORM.real_id) %]
<div style='clear:both'></div>
[% L.hidden_tag('part_picker_real_id', FORM.real_id) %]
<div style='clear:both'></div>
@@
-14,14
+13,10
@@
</div>
<script type='text/javascript'>
</div>
<script type='text/javascript'>
- var timer;
var pp = kivi.PartPicker($('#[% FORM.real_id %]'));
$(function(){
$('#part_picker_filter').focus();
pp.update_results();
});
var pp = kivi.PartPicker($('#[% FORM.real_id %]'));
$(function(){
$('#part_picker_filter').focus();
pp.update_results();
});
- $('#part_picker_filter').keypress(function (event){
- window.clearTimeout(timer);
- timer = window.setTimeout(pp.update_results, 100);
- });
+ $('#part_picker_filter').keypress(pp.result_timer);
</script>
</script>