projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43fd5db
)
Roo/form/DisplayField.js
author
edward
<edward@roojs.com>
Thu, 28 Apr 2016 09:58:31 +0000
(17:58 +0800)
committer
edward
<edward@roojs.com>
Thu, 28 Apr 2016 09:58:31 +0000
(17:58 +0800)
Roo/form/DisplayField.js
patch
|
blob
|
history
diff --git
a/Roo/form/DisplayField.js
b/Roo/form/DisplayField.js
index
e738d38
..
6e3b286
100644
(file)
--- a/
Roo/form/DisplayField.js
+++ b/
Roo/form/DisplayField.js
@@
-81,6
+81,10
@@
Roo.extend(Roo.form.DisplayField, Roo.form.TextField, {
this.viewEl = this.wrap.createChild({ tag: 'div', cls: 'x-form-displayfield'});
+ if(this.closable){
+ this.closeEl = this.wrap.createChild({ tag: 'div', cls: 'x-dlg-close'});
+ }
+
if (this.bodyStyle) {
this.viewEl.applyStyles(this.bodyStyle);
}