Roo/form/DateField.js
authorChris <chris@roojs.com>
Tue, 19 Mar 2013 10:39:00 +0000 (18:39 +0800)
committerChris <chris@roojs.com>
Tue, 19 Mar 2013 10:39:00 +0000 (18:39 +0800)
Roo/form/DateField.js

index c3bd187..f27c625 100644 (file)
@@ -150,7 +150,7 @@ Roo.extend(Roo.form.DateField, Roo.form.TriggerField,  {
     {
         Roo.form.DateField.superclass.onRender.call(this, ct, position);
         if (this.useIso) {
-            this.el.dom.removeAttribute('name'); 
+            //this.el.dom.removeAttribute('name'); 
             this.el.dom.setAttribute('name', this.name + '____hidden___' ); 
             this.hiddenField = this.el.insertSibling({ tag:'input', type:'hidden', name: this.name },
                     'before', true);