1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 06:39:43 +02:00

Set consistent browser titles

This commit is contained in:
sauls8t 2018-01-24 13:23:11 +00:00
parent 88b99979a9
commit adef6dfffa
37 changed files with 140 additions and 117 deletions

View file

@ -22,10 +22,11 @@ export default Component.extend(NotifierMixin, AuthMixin, {
copyPermission: true,
copyDocument: false,
hasClone: notEmpty('clonedSpace.id'),
clonedSpace: null,
init() {
this._super(...arguments);
this.clonedSpace = { id: '' };
// this.clonedSpace = { id: '' };
},
didInsertElement() {
@ -63,9 +64,8 @@ export default Component.extend(NotifierMixin, AuthMixin, {
}
this.set('spaceName', '');
this.set('clonedSpace.id', '');
this.set('clonedSpace', null);
$("#new-space-name").removeClass("is-invalid");
$('#add-space-modal').modal('hide');
$('#add-space-modal').modal('dispose');