Actual changes are in `MediaManager.prototype.deleteConfirmation`, apologies for the trailing whitespace removals, my editor auto does that and I didn't feel like removing it since there shouldn't really be trailing whitespace anyways. Fixes #2675 (and probably other potential oopsies) by skipping over the "return to parent" item in the deletion handling method. The "return to parent" item contains a reference to the folder above the current folder, which could potentially cause the entire media folder to be deleted; and would certainly remove a lot more than actually intended. |
||
|---|---|---|
| .. | ||
| assetlist | ||
| componentlist/partials | ||
| mediamanager | ||
| templatelist/partials | ||
| AssetList.php | ||
| ComponentList.php | ||
| MediaManager.php | ||
| TemplateList.php | ||