When opening the export modal, limit selection to inside the modal. Generally when opening modals disable selection.
When selecting a DN on a DN fragment, autoselect the whole DN.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<td class="p-1 pt-0" rowspan="2">
|
||||
{!! ($x=$o->getObject('jpegphoto')) ? $x->render(FALSE,TRUE) : sprintf('<div class="page-title-icon f32 m-2"><i class="%s"></i></div>',$o->icon() ?? "fas fa-info") !!}
|
||||
</td>
|
||||
<td class="text-end align-bottom pb-0 mb-0 pt-2 pe-3 {{ $x ? 'ps-3' : '' }}"><strong>{{ $o->getDn() }}</strong></td>
|
||||
<td class="text-end align-bottom pb-0 mb-0 pt-2 pe-3 {{ $x ? 'ps-3' : '' }}"><strong class="user-select-all">{{ $o->getDn() }}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="align-bottom" style="font-size: 55%" colspan="2">
|
||||
|
@@ -336,6 +336,11 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('#page-modal').on('hide.bs.modal',function() {
|
||||
// Clear any select ranges that occurred while the modal was open
|
||||
document.getSelection().removeAllRanges();
|
||||
});
|
||||
|
||||
@if(old())
|
||||
editmode();
|
||||
@endif
|
||||
|
@@ -5,7 +5,7 @@
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div id="entry_export"></div>
|
||||
<div id="entry_export" style="user-select: text;"></div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
Reference in New Issue
Block a user