stable

Clone or download

Read-only

fixes request #40096 Dnd is not allowed during artifact copy

How to reproduce: Copy an artifact Edit a textField during copy and drag and drop a file => an error `you are not allowed to paste image here` is displayed With this patch: => the text `You can drag n' drop ...` is no longer displayed => you cannot drop file inside editor Note: This does not offer the best user experience as we do not indicate why drag and drop is not allowed, but it is consistent with what is done when users lacks of permission or when file field is missing Change-Id: Id56547d4b634c4767fb96249f1353134539e539a

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/RichTextareaProvider.php +13 −19 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/View/Edit.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.php +12 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/RichTextareaProviderTest.php +47 −1 Go to diff View file