From ebe3ae58cffa8c16ef2b1b74c5b7a9228a5495ff Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Mon, 2 Jan 2012 18:08:20 +0000 Subject: [PATCH] removed data-read and fixed droppable logic --- files/js/files.js | 2 +- files/templates/part.list.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/files/js/files.js b/files/js/files.js index 6044541d4aa..7c04245c223 100644 --- a/files/js/files.js +++ b/files/js/files.js @@ -12,7 +12,7 @@ $(document).ready(function() { //drag/drop of files $('#fileList tr td.filename').draggable(dragOptions); - $('#fileList tr[data-type="dir"][data-read="false"][data-write="false"] td.filename').droppable(folderDropOptions); + $('#fileList tr[data-type="dir"][data-write="true"] td.filename').droppable(folderDropOptions); $('div.crumb').droppable(crumbDropOptions); $('ul#apps>li:first-child').data('dir',''); $('ul#apps>li:first-child').droppable(crumbDropOptions); diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 81ba24dac9f..a364862119d 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,5 +1,4 @@ - ' data-read='' data-write=''> + ' data-write=''> -- 2.39.5