BUG 15581 "Advance Search Can't remove date..." SOLVED

- Advance Search | Can't remove date selection
- Problema resuelto, en HOME>Advanced Search en "Delegated date from" y "To" se agrega un boton a cada uno, permitiendo
  limpiar la cajas de textos y haci porder seleccionar otra fecha.
This commit is contained in:
Luis Fernando Saisa Lopez
2014-08-15 14:55:31 -04:00
parent acdaa6db87
commit 5edade33c6

View File

@@ -1788,15 +1788,31 @@ Ext.onReady ( function() {
' '
];
var clearDateFrom = new Ext.Action({
text: "X",
ctCls: "pm_search_x_button_des",
handler: function(){
Ext.getCmp("dateFrom").setValue("");
}
});
var clearDateTo = new Ext.Action({
text: "X",
ctCls: "pm_search_x_button_des",
handler: function(){
Ext.getCmp("dateTo").setValue("");
}
});
var toolbarSearch = [
' ',
_('ID_DELEGATE_DATE_FROM'),
dateFrom,
clearDateFrom,
' ',
_('ID_TO'),
dateTo,
clearDateTo,
"->",
'-',
textSearch,