Wire up attachment saving
This commit is contained in:
parent
593976fe21
commit
86da80fd23
2 changed files with 5 additions and 5 deletions
|
@ -119,13 +119,13 @@
|
|||
|
||||
const props = {
|
||||
imageURL: this.objectUrl,
|
||||
save: () => this.saveFile(),
|
||||
// implicit: `close`
|
||||
};
|
||||
this.lightboxView = new Whisper.ReactWrapperView({
|
||||
Component: Signal.Components.Lightbox,
|
||||
props,
|
||||
onClose: () => {
|
||||
Signal.Backbone.Views.Lightbox.hide();
|
||||
},
|
||||
onClose: () => Signal.Backbone.Views.Lightbox.hide(),
|
||||
});
|
||||
Signal.Backbone.Views.Lightbox.show(this.lightboxView.el);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue