1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +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');

View file

@ -62,14 +62,6 @@ export default Component.extend(AuthMixin, Notifier, {
this.set('spaceType', t);
},
// onSetLikes(l) {
// this.set('allowLikes', l);
// schedule('afterRender', () => {
// if (l) this.$('#space-likes-prompt').focus();
// });
// },
onSave() {
if (!this.get('isSpaceAdmin')) return;