fix(minor): debounce taxes call
This commit is contained in:
parent
23f638a47c
commit
34fc528500
@ -34,6 +34,7 @@ erpnext.setup_auto_gst_taxation = (doctype) => {
|
||||
doctype: frm.doc.doctype,
|
||||
company: frm.doc.company
|
||||
},
|
||||
debounce: 2000,
|
||||
callback: function(r) {
|
||||
if(r.message) {
|
||||
frm.set_value('taxes_and_charges', r.message.taxes_and_charges);
|
||||
|
@ -1,12 +1,12 @@
|
||||
{% if not hide_footer_signup %}
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control border-secondary"
|
||||
<input type="text" class="form-control"
|
||||
id="footer-subscribe-email"
|
||||
placeholder="{{ _('Your email address...') }}"
|
||||
aria-label="{{ _('Your email address...') }}"
|
||||
aria-describedby="footer-subscribe-button">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-sm btn-outline-secondary"
|
||||
<button class="btn btn-sm btn-default"
|
||||
type="button" id="footer-subscribe-button">{{ _("Get Updates") }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user