Roo/form/DisplayField.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 15 Jun 2011 04:38:36 +0000 (12:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 15 Jun 2011 04:38:36 +0000 (12:38 +0800)
Roo/form/DisplayField.js

index 672841d..8b77ac0 100644 (file)
@@ -76,7 +76,7 @@ Roo.extend(Roo.form.DisplayField, Roo.form.TextField,  {
         //if(this.inputValue !== undefined){
         this.wrap = this.el.wrap();
         
-        this.viewEl = this.wrap.createChild({ tag: 'div'});
+        this.viewEl = this.wrap.createChild({ tag: 'div', cls: 'x-form-displayfield'});
         
         if (this.bodyStyle) {
             this.viewEl.applyStyles(this.bodyStyle);