Skip to content
Snippets Groups Projects
Commit 91246df4 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge remote branch 'upstream/develop' into 1.10.x

parents 97ad47c1 ca3a7ea3
Branches
Tags
No related merge requests found
...@@ -3974,10 +3974,7 @@ class FileUploadWidget extends Widget { ...@@ -3974,10 +3974,7 @@ class FileUploadWidget extends Widget {
// Files already attached to the field are allowed // Files already attached to the field are allowed
foreach ($this->field->getFiles() as $F) { foreach ($this->field->getFiles() as $F) {
// FIXME: This will need special porting in v1.10 // FIXME: This will need special porting in v1.10
if ($F instanceof Attachment) $allowed[$F->id] = 1;
$allowed[$F->getFileId()] = 1;
else
$allowed[$F->id] = 1;
} }
// New files uploaded in this session are allowed // New files uploaded in this session are allowed
......
<?php if ($desc = $event->getDescription(ThreadEvent::MODE_STAFF)) { ?>
<div class="thread-event <?php if ($event->uid) echo 'action'; ?>"> <div class="thread-event <?php if ($event->uid) echo 'action'; ?>">
<span class="type-icon"> <span class="type-icon">
<i class="faded icon-<?php echo $event->getIcon(); ?>"></i> <i class="faded icon-<?php echo $event->getIcon(); ?>"></i>
</span> </span>
<span class="faded description"> <span class="faded description">
<?php echo $event->getDescription(ThreadEvent::MODE_STAFF); ?> <?php echo $desc; ?>
</span> </span>
</div> </div>
<?php } ?>
...@@ -2930,3 +2930,12 @@ a.attachment { ...@@ -2930,3 +2930,12 @@ a.attachment {
*/ */
.select2-selection__rendered, .select2-search, .select2-selection__rendered, .select2-search,
.select2-search__field:not([placeholder='']){width: 100% !important;} .select2-search__field:not([placeholder='']){width: 100% !important;}
/* Fix Canned Responses Select2 Height */
#resp_sec .select2-results, #resp_sec .select2-results__choices {
height: auto;
max-height: 400px !important;
}
#select2-cannedResp-results {
height: auto;
max-height: 400px !important;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment