Merged in gproly/processmaker/HOR-661 (pull request #4009)

HOR-661
This commit is contained in:
Julio Cesar Laura Avendaño
2016-03-31 16:54:58 -04:00

View File

@@ -543,6 +543,8 @@ Ext.onReady( function() {
iconCls: 'icon-user-add', iconCls: 'icon-user-add',
text: _('ID_ADD'), text: _('ID_ADD'),
handler: function(){ handler: function(){
Ext.getCmp('startdt').setMaxValue(0);
Ext.getCmp('enddt').setMinValue(0);
var e = new EmployeeHoliday({ var e = new EmployeeHoliday({
name: '', name: '',
startdt: (new Date()).clearTime(), startdt: (new Date()).clearTime(),