Merged in luisfernandosl/processmaker/BUG-14214 (pull request #669)
BUG 15581 "Advance Search Can't remove date..." SOLVED
This commit is contained in:
@@ -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 = [
|
var toolbarSearch = [
|
||||||
' ',
|
' ',
|
||||||
_('ID_DELEGATE_DATE_FROM'),
|
_('ID_DELEGATE_DATE_FROM'),
|
||||||
dateFrom,
|
dateFrom,
|
||||||
|
clearDateFrom,
|
||||||
' ',
|
' ',
|
||||||
_('ID_TO'),
|
_('ID_TO'),
|
||||||
dateTo,
|
dateTo,
|
||||||
|
clearDateTo,
|
||||||
"->",
|
"->",
|
||||||
'-',
|
'-',
|
||||||
textSearch,
|
textSearch,
|
||||||
|
|||||||
Reference in New Issue
Block a user