minnojs / minno-dashboard

Client-side of minno’s study management and authoring tool
1 stars 2 forks source link

Deleting all files in a folder #64

Closed baranan closed 7 years ago

baranan commented 7 years ago

I wanted to delete all the files in my images folder, but when I selected all of them, the folder was also selected: image

So, it seems like it is going to delete the folder as well, which is not what I wanted (I wanted only to delete the folder). And, indeed it deleted all the files AND the folder, but I did not want to delete the folder.

Probably, simply do not select the folder if the user selects all the files inside the folder.

I see something similar in the study as well, I selected all the files in the study, and the study was selected as well: image

I preferred not to test what would happen if I try to delete them because I don't want to delete them.

baranan commented 7 years ago

Please don't fix for 2.1. The bug exists in 2.0, and it is fine to fix only in 2.2. I hope there will no serious bugs in my tests today, and we could deploy 2.1 soon.