Skip to content

Commit

Permalink
fix clipboard perms amidaware/tacticalrmm#1134
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Feb 1, 2025
1 parent f7b52e5 commit a9e14e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/views/RemoteBackground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<q-tab-panels v-model="tab">
<q-tab-panel name="terminal" class="q-pa-none">
<iframe
allow="clipboard-read; clipboard-write"
:src="terminal"
:style="{
height: `${$q.screen.height - 30}px`,
Expand Down Expand Up @@ -66,6 +67,7 @@
</q-tab-panel>
<q-tab-panel name="filebrowser" class="q-pa-none">
<iframe
allow="clipboard-read; clipboard-write"
:src="file"
:style="{
height: `${$q.screen.height - 30}px`,
Expand Down
15 changes: 9 additions & 6 deletions src/views/TakeControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@
/>
<q-space />
</q-bar>

<q-video
v-show="control"
:src="control"
:style="{ height: `${$q.screen.height - 26}px` }"
></q-video>
<div class="q-video" :style="{ height: `${$q.screen.height - 26}px` }">
<iframe
v-show="control"
:src="control"
allow="clipboard-read; clipboard-write"
allowfullscreen
frameborder="0"
></iframe>
</div>
</div>
</template>

Expand Down

0 comments on commit a9e14e4

Please sign in to comment.