projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1cb488
)
Roo/bootstrap/CardUploader.js
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Nov 2020 08:29:34 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Nov 2020 08:29:34 +0000
(16:29 +0800)
Roo/bootstrap/CardUploader.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CardUploader.js
b/Roo/bootstrap/CardUploader.js
index
b025870
..
082b46f
100644
(file)
--- a/
Roo/bootstrap/CardUploader.js
+++ b/
Roo/bootstrap/CardUploader.js
@@
-289,6
+289,7
@@
Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Input, {
{
var card = this.fileCollection.get(id);
{
var card = this.fileCollection.get(id);
+ card.data.is_deleted : 1,
this.fileCollection.remove(card);
//this.items = this.items.filter(function(e) { return e != card });
// dont' really need ot update items.
this.fileCollection.remove(card);
//this.items = this.items.filter(function(e) { return e != card });
// dont' really need ot update items.