1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +02:00

Fix up post-Enterprise Edition merge

This commit is contained in:
McMatts 2018-12-23 16:06:15 +00:00
parent 6f495dd1c6
commit eb56169fe5
4 changed files with 1 additions and 16 deletions

View file

@ -32,7 +32,7 @@ export default Component.extend(Notifier, {
if (this.get('hasNameError')) return;
if (!this.get('permissions.documentEdit')) return;
this.set('document.name', this.get('docName'));
this.set('document.name', this.get('docName').trim());
this.set('document.excerpt', this.get('docExcerpt').trim());
let cb = this.get('onSaveDocument');