Skip to content
Snippets Groups Projects
Commit 51876b9c authored by Ron Lucke's avatar Ron Lucke
Browse files

fix #4083

Closes #4083

Merge request studip/studip!2967
parent 6603fd37
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<section class="cw-block-edit"> <section class="cw-block-edit">
<header v-if="preview">{{ $gettext('Bearbeiten') }}</header> <header v-if="preview">{{ $gettext('Bearbeiten') }}</header>
<div class="cw-block-features-content"> <div class="cw-block-features-content">
<div @click="deactivateToolbar(); exitHandler = true;"> <div @click="exitHandler = true;">
<slot name="edit" /> <slot name="edit" />
</div> </div>
<div class="cw-button-box"> <div class="cw-button-box">
...@@ -31,16 +31,6 @@ export default { ...@@ -31,16 +31,6 @@ export default {
beforeMount() { beforeMount() {
this.originalBlock = this.block; this.originalBlock = this.block;
}, },
methods: {
...mapActions({
coursewareBlockAdder: 'coursewareBlockAdder',
coursewareShowToolbar: 'coursewareShowToolbar'
}),
deactivateToolbar() {
this.coursewareBlockAdder({});
this.coursewareShowToolbar(false);
},
},
beforeDestroy() { beforeDestroy() {
if (this.exitHandler) { if (this.exitHandler) {
this.$emit('store'); this.$emit('store');
......
...@@ -93,8 +93,8 @@ export default { ...@@ -93,8 +93,8 @@ export default {
}, },
data() { data() {
return { return {
height: 600, height: '600',
width: 1000, width: '1000',
scope: 'courses', scope: 'courses',
coursesTree: [], coursesTree: [],
usersTree: [], usersTree: [],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment