Sfoglia il codice sorgente

Merge pull request #3574 from rohitwaghchaure/date_field_issue

[Fix] Date fields not changing when viewing another records
version-14
Makarand Bauskar 8 anni fa
committed by GitHub
parent
commit
2f8ee4f6f7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      frappe/public/js/frappe/form/control.js

+ 1
- 0
frappe/public/js/frappe/form/control.js Vedi File

@@ -609,6 +609,7 @@ frappe.ui.form.ControlDate = frappe.ui.form.ControlData.extend({
this.set_t_for_today();
},
set_formatted_input: function(value) {
this._super(value);
if(value
&& ((this.last_value && this.last_value !== value)
|| (!this.datepicker.selectedDates.length))) {


Caricamento…
Annulla
Salva