projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4750e00
)
Roo/form/DisplayField.js
author
edward
<edward@roojs.com>
Thu, 28 Apr 2016 10:03:15 +0000
(18:03 +0800)
committer
edward
<edward@roojs.com>
Thu, 28 Apr 2016 10:03:15 +0000
(18:03 +0800)
Roo/form/DisplayField.js
patch
|
blob
|
history
diff --git
a/Roo/form/DisplayField.js
b/Roo/form/DisplayField.js
index
407e0da
..
4c31fdd
100644
(file)
--- a/
Roo/form/DisplayField.js
+++ b/
Roo/form/DisplayField.js
@@
-122,5
+122,12
@@
Roo.extend(Roo.form.DisplayField, Roo.form.TextField, {
this.viewEl.dom.innerHTML = html;
Roo.form.DisplayField.superclass.setValue.call(this, v);
+ },
+
+ onClose : function(e)
+ {
+ e.preventDefault();
+
+ this.fireEvent('close', this);
}
});
\ No newline at end of file