From 92377f0a6dd57a23b23c0f6efe2ac2ee699df530 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 22 Oct 2012 17:19:16 +0800 Subject: [PATCH] roojs-ui.js roojs-ui-debug.js --- roojs-ui-debug.js | 3593 +-------------------------------------------- roojs-ui.js | 894 ----------- 2 files changed, 9 insertions(+), 4478 deletions(-) diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index f1fee18a3b..12c157de71 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -22811,6 +22811,9 @@ dateField.setValue('2006-5-4'); return value; } var v = Date.parseDate(value, this.format); + if (this.useIso) { + v = Date.parseDate(value, 'Y-m-d'); + } if(!v && this.altFormats){ if(!this.altFormatsArray){ this.altFormatsArray = this.altFormats.split("|"); @@ -23139,6 +23142,7 @@ monthField.setValue('2006-5-4'); * @param {String/Date} date The date or valid date string */ setValue : function(date){ + Roo.log('month setValue' + date); if (this.hiddenField) { this.hiddenField.value = this.formatDate(this.parseDate(date), 'Y-m-d'); } @@ -23151,6 +23155,11 @@ monthField.setValue('2006-5-4'); return value; } var v = Date.parseDate(value, this.format); + if (this.useIso) { + v = Date.parseDate(value, 'Y-m-d'); + } + + if(!v && this.altFormats){ if(!this.altFormatsArray){ this.altFormatsArray = this.altFormats.split("|"); @@ -36623,3587 +36632,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 - *