diff options
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r-- | core/js/sharedialogview.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index d886e45856f..4b5dc80e945 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -28,6 +28,7 @@ '<div class="shareeListView subView"></div>' + '<div class="linkShareView subView"></div>' + '<div class="expirationView subView"></div>' + + '<div class="noteView subView"></div>' + '<div class="loading hidden" style="height: 50px"></div>'; /** @@ -63,6 +64,9 @@ expirationView: undefined, /** @type {object} **/ + noteView: undefined, + + /** @type {object} **/ shareeListView: undefined, /** @type {object} **/ @@ -105,6 +109,7 @@ var subViewOptions = { model: this.model, + parent: this, configModel: this.configModel }; @@ -112,6 +117,7 @@ resharerInfoView: 'ShareDialogResharerInfoView', linkShareView: 'ShareDialogLinkShareView', expirationView: 'ShareDialogExpirationView', + noteView: 'ShareDialogNoteView', shareeListView: 'ShareDialogShareeListView' }; @@ -674,6 +680,9 @@ this.expirationView.$el = this.$el.find('.expirationView'); this.expirationView.render(); + this.noteView.$el = this.$el.find('.noteView'); + this.noteView.render(); + this.shareeListView.$el = this.$el.find('.shareeListView'); this.shareeListView.render(); |