From 0b62f410317b9383dcf2622ef428d1852ec86b3a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 3 Jul 2015 11:29:11 +0200 Subject: [PATCH] copy form/DayOfWeekSelector.js from manager to manager5 --- www/manager5/form/DayOfWeekSelector.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 www/manager5/form/DayOfWeekSelector.js diff --git a/www/manager5/form/DayOfWeekSelector.js b/www/manager5/form/DayOfWeekSelector.js new file mode 100644 index 00000000..c03c430a --- /dev/null +++ b/www/manager5/form/DayOfWeekSelector.js @@ -0,0 +1,20 @@ +Ext.define('PVE.form.DayOfWeekSelector', { + extend: 'PVE.form.KVComboBox', + alias: ['widget.pveDayOfWeekSelector'], + + initComponent: function() { + var me = this; + + me.data = [ + ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])], + ['mon', Ext.util.Format.htmlDecode(Ext.Date.dayNames[1])], + ['tue', Ext.util.Format.htmlDecode(Ext.Date.dayNames[2])], + ['wed', Ext.util.Format.htmlDecode(Ext.Date.dayNames[3])], + ['thu', Ext.util.Format.htmlDecode(Ext.Date.dayNames[4])], + ['fri', Ext.util.Format.htmlDecode(Ext.Date.dayNames[5])], + ['sat', Ext.util.Format.htmlDecode(Ext.Date.dayNames[6])] + ]; + + me.callParent(); + } +}); -- 2.39.5