projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keine "leere" Währungsauswahl in CustomerVendor erlauben
[kivitendo-erp.git]
/
templates
/
webpages
/
customer_vendor
/
tabs
/
shipto.html
diff --git
a/templates/webpages/customer_vendor/tabs/shipto.html
b/templates/webpages/customer_vendor/tabs/shipto.html
index
5080802
..
0b238c3
100644
(file)
--- a/
templates/webpages/customer_vendor/tabs/shipto.html
+++ b/
templates/webpages/customer_vendor/tabs/shipto.html
@@
-16,7
+16,7
@@
title_key = 'displayable_id',
with_empty = 1,
empty_title = LxERP.t8('New shipto'),
title_key = 'displayable_id',
with_empty = 1,
empty_title = LxERP.t8('New shipto'),
- onchange = "
namespace('kivi.CustomerVendor')
.selectShipto({onFormSet: function(){shiptoMapWidget.testInputs();}});",
+ onchange = "
kivi.CustomerVendor
.selectShipto({onFormSet: function(){shiptoMapWidget.testInputs();}});",
)
%]
</td>
)
%]
</td>
@@
-47,7
+47,10
@@
<span id="shipto_map"></span>
<script type="text/javascript">
<span id="shipto_map"></span>
<script type="text/javascript">
- var shiptoMapWidget = namespace('kivi.CustomerVendor').showMapWidget('shipto_shipto', $('#shipto_map'));
+ shiptoMapWidget = new kivi.CustomerVendor.MapWidget('shipto_shipto');
+ $(function() {
+ shiptoMapWidget.render($('#shipto_map'));
+ });
</script>
</td>
</tr>
</script>
</td>
</tr>