This commit is contained in:
Roly Rudy Gutierrez Pinto
2016-03-30 17:43:57 -04:00
parent e4cf9a2a66
commit e69142b864

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(),