add contactsmenu popover to resharer infobox

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2017-04-24 15:31:44 +02:00
parent 4d60aff6ec
commit 399f08bd33
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
2 changed files with 9 additions and 0 deletions

View File

@ -161,6 +161,10 @@ a {
padding: 6px 4px; padding: 6px 4px;
} }
.resharerInfoView.subView {
position: relative;
}
#defaultExpireMessage, .reshare { #defaultExpireMessage, .reshare {
/* fix shared by text going out of box */ /* fix shared by text going out of box */
white-space: normal; white-space: normal;

View File

@ -100,6 +100,11 @@
$this.avatar($this.data('username'), 32); $this.avatar($this.data('username'), 32);
}); });
this.$el.find('.reshare').contactsMenu(
this.model.getReshareOwner(),
OC.Share.SHARE_TYPE_USER,
this.$el);
return this; return this;
}, },