remove uploaded files page fixed
there was a minor bug that was preventing uploaded files to be removed from the editor page even thought the remove button was pressed. found and fixed
This commit is contained in:
parent
c85e145774
commit
a7354da38f
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ export default class FileManager {
|
||||||
// event handlers
|
// event handlers
|
||||||
//--------------------------
|
//--------------------------
|
||||||
removeFile(e) {
|
removeFile(e) {
|
||||||
var item = e.target.parentNode.parentNode;
|
var item = e.target.parentNode;
|
||||||
|
console.log('ITEM', item);
|
||||||
switch (item.className) {
|
switch (item.className) {
|
||||||
case 'img-item':
|
case 'img-item':
|
||||||
case 'video-item':
|
case 'video-item':
|
||||||
|
|
Loading…
Reference in a new issue