ng2-tree
ng2-tree copied to clipboard
How to disable drag & drop
Hello there, the app is working alright except for one issue, which I'll describe at the end cause it ain't the question.
I want to disable the drag & drop utility, therefore disabling the move folder/file functionality, so my clients've got to delete and reupload if they make a mistake. So far I've found these two lines at tree.module.js which might be absolutely related, but I may be missing some more:
var node_draggable_directive_1 = require("./draggable/node-draggable.directive"); var node_draggable_service_1 = require("./draggable/node-draggable.service");
Btw, the issue is related to drag n dropping a folder towards a folder on the same node, it won't drop in, but visually switch places.
Thanks in advance.