diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-14 11:45:04 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-21 15:02:20 +0200 |
commit | 4e08d8342e8582e8001df31ff6e56f40d20ccc40 (patch) | |
tree | 09d4e98bbb21c5a80effe2906ddd4c5f70f8e75c /core/js/sharedialogview.js | |
parent | 72d24555773aeffd2481b59e54e866632a1c763c (diff) | |
download | nextcloud-server-4e08d8342e8582e8001df31ff6e56f40d20ccc40.tar.gz nextcloud-server-4e08d8342e8582e8001df31ff6e56f40d20ccc40.zip |
UI set share note!
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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(); |