unclecheese/DataObjectManager — pull request #40 by jim2mullered (2012-02-07 12:15:56+00:00)
Title: Modification to Drag and Drop feature

Hello Uncle Cheese,

Thanks for adding the drag and drop feature so that files can be easily moved in the File and Images admin section. Makes life a lot easier.

I have however added a little bit of code to allow you to turn this off as the Drag and Drop feature is not really any use in some applications of the FileDataObjectManager e.g. in Model Admin.

So with the aim to keep the user interface tidy I created a function called allowDragDrop which can be set on an instance level e.g. $MyFileDataObjectManager->allowDragDrop = false; . Default is true.

Any way I hope that helps and you will consider this modification for inclusion. Keep up the great work :-)

Cheers,

Jim