Skip to content
Snippets Groups Projects
Commit 880c9a24 authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fixes #354

parent c5ca9251
No related branches found
No related tags found
No related merge requests found
...@@ -1028,6 +1028,7 @@ export default { ...@@ -1028,6 +1028,7 @@ export default {
this.uploadFileError = this.$gettext('Fehler beim Hochladen der Datei.'); this.uploadFileError = this.$gettext('Fehler beim Hochladen der Datei.');
}); });
} }
this.showElementEditDialog(false);
if (this.currentElement.attributes['release-date'] !== '') { if (this.currentElement.attributes['release-date'] !== '') {
this.currentElement.attributes['release-date'] = this.currentElement.attributes['release-date'] =
...@@ -1045,7 +1046,7 @@ export default { ...@@ -1045,7 +1046,7 @@ export default {
}); });
await this.unlockObject({ id: this.currentId, type: 'courseware-structural-elements' }); await this.unlockObject({ id: this.currentId, type: 'courseware-structural-elements' });
this.$emit('select', this.currentId); this.$emit('select', this.currentId);
this.showElementEditDialog(false); this.initCurrent();
}, },
async exportCurrentElement(data) { async exportCurrentElement(data) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment