diff --git a/resources/assets/javascripts/lib/dialog.js b/resources/assets/javascripts/lib/dialog.js index 7dc017a8413ad8ba426571e8ed2e3f8c179e8063..2810319a0eccaa6a9ff057ad1f9a68f43f8f656a 100644 --- a/resources/assets/javascripts/lib/dialog.js +++ b/resources/assets/javascripts/lib/dialog.js @@ -357,6 +357,9 @@ Dialog.show = function(content, options = {}) { width: instance.dimensions.width, height: instance.dimensions.height, dialogClass: Dialog.getClasses(options), + classes: { + 'ui-dialog-content': 'studip-dialog-content', + }, buttons: options.buttons || {}, title: options.title, modal: true, diff --git a/resources/vue/components/StudipSelect.vue b/resources/vue/components/StudipSelect.vue index 2bb209f4af21d2e533ccbca77d749706bbce5817..1f8d226730dbe9b22a39fb1f74edc7b2caf65bda 100644 --- a/resources/vue/components/StudipSelect.vue +++ b/resources/vue/components/StudipSelect.vue @@ -2,7 +2,7 @@ <v-select ref="select" v-bind="{...$props, ...$attrs}" :model-value="modelValue" - @update:modelValue="value => $emit('update:modelValue', value)" + @update:modelValue="value => updateValue(value)" :calculate-position="withPopper" class="studip-v-select" append-to-body @@ -34,7 +34,6 @@ export default { }, methods: { updateValue(val) { - console.log('Updating value', val); this.$emit('update:modelValue', val) }, withPopper(dropdownList, component, { width }) {