projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01f119
)
Roo/bootstrap/DocumentManager.js
author
edward
<edward@roojs.com>
Wed, 17 Feb 2016 06:21:53 +0000
(14:21 +0800)
committer
edward
<edward@roojs.com>
Wed, 17 Feb 2016 06:21:53 +0000
(14:21 +0800)
Roo/bootstrap/DocumentManager.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DocumentManager.js
b/Roo/bootstrap/DocumentManager.js
index
1a87b0e
..
4e14437
100644
(file)
--- a/
Roo/bootstrap/DocumentManager.js
+++ b/
Roo/bootstrap/DocumentManager.js
@@
-355,6
+355,15
@@
Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, {
},
+ closable : function(closable)
+ {
+ Roo.each(this.el.select('.roo-document-manager-preview > button.close', true).elements, function(el){
+
+ (closable) ? el.show() : el.hide();
+
+ }, this);
+ },
+
xhrOnLoad : function(xhr)
{
if (xhr.readyState !== 4) {