Author: husted
Date: Thu Nov  1 04:57:58 2007
New Revision: 590970

URL: http://svn.apache.org/viewvc?rev=590970&view=rev
Log:
WW-2094 Error DateTimePicker when erase input then click again the calendar - 
Apply fix submitted by Benjamin McCann for to issue originally reported by 
Leneveut Michaƫl.

Modified:
    
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
    
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js?rev=590970&r1=590969&r2=590970&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
 Thu Nov  1 04:57:58 2007
@@ -1,20 +1,20 @@
 /*
-       Copyright (c) 2004-2006, The Dojo Foundation
-       All Rights Reserved.
+  Copyright (c) 2004-2006, The Dojo Foundation
+  All Rights Reserved.
 
-       Licensed under the Academic Free License version 2.1 or above OR the
-       modified BSD license. For more information on Dojo licensing, see:
+  Licensed under the Academic Free License version 2.1 or above OR the
+  modified BSD license. For more information on Dojo licensing, see:
 
-               http://dojotoolkit.org/community/licensing.shtml
+    http://dojotoolkit.org/community/licensing.shtml
 */
 
 /*
-       This is a compiled version of Dojo, built for deployment and not for
-       development. To get an editable version, please visit:
+  This is a compiled version of Dojo, built for deployment and not for
+  development. To get an editable version, please visit:
 
-               http://dojotoolkit.org
+    http://dojotoolkit.org
 
-       for documentation and information on getting the source.
+  for documentation and information on getting the source.
 */
 
 if(typeof dojo=="undefined"){
@@ -16928,7 +16928,7 @@
 dojo.debug("adding selectedDate");
 dojo.html.addClass(this.clickedNode,this.classNames.selectedDate);
 this.selectedNode=this.clickedNode;
-}else{
+}else if(this.value){
 this._preInitUI(this.value,false,true);
 }
 this.clickedNode=null;


Reply via email to