From 9890f6aade4a6d3c7dadf068653362ef82a2baba Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Mon, 20 Apr 2026 16:58:43 +0200 Subject: [PATCH 1/4] fixed issue: context menu appearing on vue datepicker single click in mobile --- public/js/apps/Cis.js | 12 +++++ public/js/apps/Dashboard/Fhc.js | 9 +--- .../js/components/Cis/Raumsuche/Raumsuche.js | 50 ++++++++++--------- 3 files changed, 39 insertions(+), 32 deletions(-) diff --git a/public/js/apps/Cis.js b/public/js/apps/Cis.js index c88a47a35..39fde01a2 100644 --- a/public/js/apps/Cis.js +++ b/public/js/apps/Cis.js @@ -136,6 +136,18 @@ const app = Vue.createApp({ } }; }, + computed: { + isMobile() { + const smallScreen = window.matchMedia("(max-width: 767px)").matches; + const touchCapable = ("ontouchstart" in window) || navigator.maxTouchPoints > 0; + return smallScreen;// && touchCapable; + }, + }, + provide() { + return { + isMobile: this.isMobile + } + }, methods: { searchfunction: function(searchsettings) { return this.$api.call(ApiSearchbar.searchCis(searchsettings)); diff --git a/public/js/apps/Dashboard/Fhc.js b/public/js/apps/Dashboard/Fhc.js index 140c76402..c9c81cddb 100644 --- a/public/js/apps/Dashboard/Fhc.js +++ b/public/js/apps/Dashboard/Fhc.js @@ -233,18 +233,11 @@ const app = Vue.createApp({ renderers: null, }), components: {}, - computed: { - isMobile() { - const smallScreen = window.matchMedia("(max-width: 767px)").matches; - const touchCapable = ("ontouchstart" in window) || navigator.maxTouchPoints > 0; - return smallScreen;// && touchCapable; - } - }, + inject: ["isMobile"], provide() { return { // provide injectable & watchable language property language: Vue.computed(() => this.$p.user_language), renderers: Vue.computed(() => this.renderers), - isMobile: this.isMobile } }, methods: { diff --git a/public/js/components/Cis/Raumsuche/Raumsuche.js b/public/js/components/Cis/Raumsuche/Raumsuche.js index 365da4911..bb8bf1e85 100644 --- a/public/js/components/Cis/Raumsuche/Raumsuche.js +++ b/public/js/components/Cis/Raumsuche/Raumsuche.js @@ -3,14 +3,12 @@ import VueDatePicker from '../../vueDatepicker.js.php'; import ApiOrt from '../../../api/factory/ort.js' export const Raumsuche = { name: "Raumsuche", - props: { - - }, components: { VueDatePicker, CoreFilterCmpt, InputNumber: primevue.inputnumber, }, + inject: ["isMobile"], data() { return { phrasenPromise: null, @@ -73,6 +71,11 @@ export const Raumsuche = { } ]}; }, + computed: { + isDarkMode(){ + return this.$theme.theme_name.value == 'dark'; + } + }, methods: { tableResolve(resolve) { this.tableBuiltResolve = resolve @@ -178,11 +181,6 @@ export const Raumsuche = { } }, - computed: { - isDarkMode(){ - return this.$theme.theme_name.value == 'dark'; - } - }, created() { this.phrasenPromise = this.$p.loadCategory(['rauminfo', 'global']) this.phrasenPromise.then(()=> {this.phrasenResolved = true}) @@ -196,39 +194,43 @@ export const Raumsuche = {
- -
-
-
+ +
+
+
From 6792002c198e5c87e82d6d2fb837e97e61ea27e2 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Mon, 20 Apr 2026 17:03:05 +0200 Subject: [PATCH 2/4] added spacing between room search inputs, mostly visible in mobile --- public/js/components/Cis/Raumsuche/Raumsuche.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/js/components/Cis/Raumsuche/Raumsuche.js b/public/js/components/Cis/Raumsuche/Raumsuche.js index bb8bf1e85..09809e39e 100644 --- a/public/js/components/Cis/Raumsuche/Raumsuche.js +++ b/public/js/components/Cis/Raumsuche/Raumsuche.js @@ -192,7 +192,7 @@ export const Raumsuche = {

{{$p.t('rauminfo/roomSearch')}}


-
+
-
+
-
+
-
+
@@ -244,14 +244,14 @@ export const Raumsuche = {
-
+
-
+
From 956b2017576cc7cde388f67e7f51b174f93aa65e Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Tue, 21 Apr 2026 11:25:48 +0200 Subject: [PATCH 4/4] minor fix --- public/js/apps/Dashboard/Fhc.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/js/apps/Dashboard/Fhc.js b/public/js/apps/Dashboard/Fhc.js index c9c81cddb..9c55b5f17 100644 --- a/public/js/apps/Dashboard/Fhc.js +++ b/public/js/apps/Dashboard/Fhc.js @@ -233,11 +233,18 @@ const app = Vue.createApp({ renderers: null, }), components: {}, - inject: ["isMobile"], + computed: { + isMobile() { + const smallScreen = window.matchMedia("(max-width: 767px)").matches; + const touchCapable = ("ontouchstart" in window) || navigator.maxTouchPoints > 0; + return smallScreen;// && touchCapable; + }, + }, provide() { return { // provide injectable & watchable language property language: Vue.computed(() => this.$p.user_language), renderers: Vue.computed(() => this.renderers), + isMobile: this.isMobile, } }, methods: {