Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
anoopmb
/
frappe
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Merge pull request
#3574
from rohitwaghchaure/date_field_issue
[Fix] Date fields not changing when viewing another records
version-14
Makarand Bauskar
hace 8 años
committed by
GitHub
padre
55e266c865
15241d3f37
commit
2f8ee4f6f7
Se han
modificado 1 ficheros
con
1 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-0
frappe/public/js/frappe/form/control.js
+ 1
- 0
frappe/public/js/frappe/form/control.js
Ver fichero
@@ -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))) {
Escribir
Vista previa
Cargando…
Cancelar
Guardar