Przeglądaj źródła

[Fix] Date fields not changing when viewing another records

version-14
Rohit Waghchaure 8 lat temu
rodzic
commit
15241d3f37
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      frappe/public/js/frappe/form/control.js

+ 1
- 0
frappe/public/js/frappe/form/control.js Wyświetl plik

@@ -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))) {


Ładowanie…
Anuluj
Zapisz