Monday, November 30, 2015

Disabled drag and drop options from document library in SharePoint 2013

<style type="text/css">
/*-- Hide Drag & Drop --*/
caption.ms-dragDropAttract { caption-side: bottom; display: none !important; }
</style>

<script type="text/javascript">
/*-- Stop Drag & Drop --*/
ExecuteOrDelayUntilScriptLoaded(function () { g_uploadType = DragDropMode.NOTSUPPORTED; SPDragDropManager.DragDropMode = DragDropMode.NOTSUPPORTED; SPDragDropManager.DargDropMode.style.display = "none"; }, "DragDrop.js");
</script>