PDA

View Full Version : [FIXED-1385] Ext 3.3 locale files don't override DateField startDay



psmacarov
2 Nov 2010, 11:57 PM
Code from localization file


Ext.apply(Ext.DatePicker.prototype, {

// something code

startDay : 1
});

While i updated to ExtJs 3.3.0 this code doesn't working.
I solved this problem cardinally ))) directly in ext-all.js : writing startDay : 1 in implementation of Ext.form.DateField

P.S but still it seems that this is a bug

Condor
3 Nov 2010, 12:11 AM
Both DatePicker and DateField now have their own startDay option, so you would have to use:

Ext.override(Ext.DatePicker, {
startDay: 1
});
Ext.override(Ext.form.DateField, {
startDay: 1
});

psmacarov
3 Nov 2010, 3:19 AM
Thank's Condor
But it mean's that standart localization file ext-lang-ru.js have mistake

Condor
3 Nov 2010, 3:56 AM
I'll rename this thread to indicate that this is a Ext 3.3 locale file problem.

meroy
4 Nov 2010, 5:32 PM
This has been addressed in SVN for 3.3.x revision 7263.