projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
292a11d
)
Roo/bootstrap/DocumentManager.js
author
Edward
<edward@roojs.com>
Fri, 30 Nov 2018 03:44:28 +0000
(11:44 +0800)
committer
Edward
<edward@roojs.com>
Fri, 30 Nov 2018 03:44:28 +0000
(11:44 +0800)
Roo/bootstrap/DocumentManager.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DocumentManager.js
b/Roo/bootstrap/DocumentManager.js
index
1b1307d
..
84ed6df
100644
(file)
--- a/
Roo/bootstrap/DocumentManager.js
+++ b/
Roo/bootstrap/DocumentManager.js
@@
-362,10
+362,10
@@
Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, {
this.files = this.files.slice(0, this.boxes);
}
this.files = this.files.slice(0, this.boxes);
}
- this.uploader.show(
false
);
+ this.uploader.show();
if(this.boxes > 0 && this.files.length > this.boxes - 1){
if(this.boxes > 0 && this.files.length > this.boxes - 1){
- this.uploader.hide(
false
);
+ this.uploader.hide();
}
var _this = this;
}
var _this = this;
@@
-419,14
+419,14
@@
Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, {
arrange : function()
{
if(!this.delegates.length){
arrange : function()
{
if(!this.delegates.length){
- this.progressDialog.hide(
false
);
+ this.progressDialog.hide();
this.refresh();
return;
}
var delegate = this.delegates.shift();
this.refresh();
return;
}
var delegate = this.delegates.shift();
- this.progressDialog.show(
false
);
+ this.progressDialog.show();
this.progressDialog.setTitle((this.progressBar.aria_valuemax - this.delegates.length) + ' / ' + this.progressBar.aria_valuemax);
this.progressDialog.setTitle((this.progressBar.aria_valuemax - this.delegates.length) + ' / ' + this.progressBar.aria_valuemax);
@@
-437,10
+437,10
@@
Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, {
refresh : function()
{
refresh : function()
{
- this.uploader.show(
false
);
+ this.uploader.show();
if(this.boxes > 0 && this.files.length > this.boxes - 1){
if(this.boxes > 0 && this.files.length > this.boxes - 1){
- this.uploader.hide(
false
);
+ this.uploader.hide();
}
Roo.isTouch ? this.closable(false) : this.closable(true);
}
Roo.isTouch ? this.closable(false) : this.closable(true);