projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a3b8f4
)
Roo/bootstrap/CardUploader.js
author
Alan Knowles
<alan@roojs.com>
Fri, 20 Nov 2020 06:22:15 +0000
(14:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 20 Nov 2020 06:22:15 +0000
(14:22 +0800)
Roo/bootstrap/CardUploader.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CardUploader.js
b/Roo/bootstrap/CardUploader.js
index
b268380
..
a663d26
100644
(file)
--- a/
Roo/bootstrap/CardUploader.js
+++ b/
Roo/bootstrap/CardUploader.js
@@
-39,7
+39,7
@@
Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button, {
getAutoCreate : function()
{
getAutoCreate : function()
{
- var btn = Roo.bootstrap.Button.
getAutoCreate.prototyp
e.call(this);
+ var btn = Roo.bootstrap.Button.
prototype.getAutoCreat
e.call(this);
var cfg = {
cls : 'roo-card-uploader-wrap',
var cfg = {
cls : 'roo-card-uploader-wrap',
@@
-79,7
+79,7
@@
Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button, {
this.selectorEl = this.el.select('.roo-card-upload-selector', true).first();
this.selectorEl = this.el.select('.roo-card-upload-selector', true).first();
- this.
bodyE
l.on('click', this.beforeSelectFile, this);
+ this.
e
l.on('click', this.beforeSelectFile, this);
this.selectorEl.on('change', this.onFileSelected, this);
if (this.images) {
var t = this;
this.selectorEl.on('change', this.onFileSelected, this);
if (this.images) {
var t = this;