From a5a848370ded68d621b394585d5a6d26fd8e9f78 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 22 Oct 2012 16:06:24 +0800 Subject: [PATCH] roojs-ui.js roojs-ui-debug.js --- roojs-ui-debug.js | 3596 +-------------------------------------------- roojs-ui.js | 894 ----------- 2 files changed, 7 insertions(+), 4483 deletions(-) diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index fe595a1a3b..34a208bc10 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -22944,13 +22944,13 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField, { * The default date format string which can be overriden for localization support. The format must be * valid according to {@link Date#parseDate} (defaults to 'm/d/y'). */ - format : "M-Y", + format : "M Y", /** * @cfg {String} altFormats * Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined * format (defaults to 'm/d/Y|m-d-y|m-d-Y|m/d|m-d|d'). */ - altFormats : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d", + altFormats : "M Y|m/Y|m-y|m-Y|my|mY", /** * @cfg {Array} disabledDays * An array of days to disable, 0 based. For example, [0, 6] disables Sunday and Saturday (defaults to null). @@ -23000,7 +23000,7 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField, { */ minText : "The date in this field must be equal to or after {0}", /** - * @cfg {String} maxText + * @cfg {String} maxTextf * The error text to display when the date in the cell is after maxValue (defaults to * 'The date in this field must be before {maxValue}'). */ @@ -23079,7 +23079,7 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField, { this.markInvalid(String.format(this.maxText, this.formatDate(this.maxValue))); return false; } - if(this.disabledDays){ + /*if(this.disabledDays){ var day = value.getDay(); for(var i = 0; i < this.disabledDays.length; i++) { if(day === this.disabledDays[i]){ @@ -23088,11 +23088,13 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField, { } } } + */ var fvalue = this.formatDate(value); - if(this.ddMatch && this.ddMatch.test(fvalue)){ + /*if(this.ddMatch && this.ddMatch.test(fvalue)){ this.markInvalid(String.format(this.disabledDatesText, fvalue)); return false; } + */ return true; }, @@ -36616,3587 +36618,3 @@ Roo.extend(Roo.grid.GridView.ColumnDragZone, Roo.grid.HeaderDragZone, { Roo.grid.GridView.ColumnDragZone.superclass.handleMouseDown.call(this, e); } }); -/* - * Based on: - * Ext JS Library 1.1.1 - * Copyright(c) 2006-2007, Ext JS, LLC. - * - * Originally Released Under LGPL - original licence link has changed is not relivant. - * - * Fork - LGPL - *