projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cabfec5
)
Roo/bootstrap/CardUploader.js
author
Alan Knowles
<alan@roojs.com>
Fri, 20 Nov 2020 07:44:49 +0000
(15:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 20 Nov 2020 07:44:49 +0000
(15:44 +0800)
Roo/bootstrap/CardUploader.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CardUploader.js
b/Roo/bootstrap/CardUploader.js
index
b4fed76
..
f1d275a
100644
(file)
--- a/
Roo/bootstrap/CardUploader.js
+++ b/
Roo/bootstrap/CardUploader.js
@@
-179,7
+179,7
@@
Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button, {
fa : 'download',
listeners : {
click : function() {
- this.
removeEl
(data.id)
+ this.
downloadCard
(data.id)
}
}
},
@@
-191,7
+191,12
@@
Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button, {
size : 'sm',
weight: 'danger',
cls : 'col-1',
- fa : 'times'
+ fa : 'times',
+ listeners : {
+ click : function() {
+ this.removeCard(data.id)
+ }
+ }
}
]
}