Merged in luisfernandosl/processmaker/BUG-14214 (pull request #669)

BUG 15581 "Advance Search Can't remove date..." SOLVED
This commit is contained in:
Julio Cesar Laura Avendaño
2014-08-18 10:47:36 -04:00

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,