add time stuff
authorAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 11:50:15 +0000 (19:50 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 26 Aug 2012 11:50:15 +0000 (19:50 +0800)
Roo/form/BasicForm.js
examples/form/dynamic.html
examples/form/dynamic.js

index ee8f8a5..64ae2d7 100644 (file)
@@ -288,7 +288,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
                 (typeof(action.result) != 'undefined')  &&
                 (typeof(action.result.errors) != 'undefined')  &&
                 (typeof(action.result.errors.needs_confirm) != 'undefined')
-          ){
+           ){
                 var _t = this;
                 Roo.MessageBox.confirm(
                     "Change requires confirmation",
index 8ae9a3c..4bd05a8 100644 (file)
@@ -26,6 +26,7 @@
     
     
     <script type="text/javascript" src="../../ux/TimePicker.js"></script>
+    <script type="text/javascript" src="../../ux/DateDisplay.js"></script>
     <script type="text/javascript" src="/raphael/raphael.js"></script>
     <script type="text/javascript" src="/g.raphael/g.raphael.js"></script>
     <script type="text/javascript" src="/g.raphael/g.pie.js"></script>
index bf2d48c..54ae569 100644 (file)
@@ -519,9 +519,15 @@ Roo.onReady(function(){
             {
             
                 xtype: 'TimePicker',
-                xns : Roo.ux,
+                xns : Roo.form,
                 fieldLabel: 'test time picker',
                 name: 'time'
+            },
+            {
+                xtype: 'DateDisplay',
+                xns : Roo.form,
+                fieldLabel: 'test date picker',
+                name: 'date'
             }