Skip to content
Snippets Groups Projects
Commit b17d60c2 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

use clipboard-draggable-item only for rooms, closes #1254

Closes #1254

Merge request studip/studip!779
parent 68869f2e
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
? htmlReady($clipboard_range_type) ? htmlReady($clipboard_range_type)
: 'Resource' ?>" : 'Resource' ?>"
data-name="<?= htmlReady($resource->name) ?>" data-name="<?= htmlReady($resource->name) ?>"
class="clipboard-draggable-item"> <?= $resource instanceof Room ? 'class="clipboard-draggable-item"' : '' ?>>
<? if ($show_picture): ?> <? if ($show_picture): ?>
<? $picture_url = $resource->getPictureUrl(); ?> <? $picture_url = $resource->getPictureUrl(); ?>
<? if ($picture_url): ?> <? if ($picture_url): ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment