gallery now supports flash, fixes for flash component. refactored media modal
This commit is contained in:
parent
e654fead23
commit
90345f158f
8 changed files with 36 additions and 28 deletions
|
@ -113,13 +113,14 @@ const Attachment = {
|
|||
},
|
||||
openModal (event) {
|
||||
if (this.useModal) {
|
||||
this.setMedia()
|
||||
this.$store.dispatch('setCurrent', this.attachment)
|
||||
this.$emit('setMedia')
|
||||
this.$store.dispatch('setCurrentMedia', this.attachment)
|
||||
}
|
||||
},
|
||||
openModalForce (event) {
|
||||
this.setMedia()
|
||||
this.$store.dispatch('setCurrent', this.attachment)
|
||||
this.$emit('setMedia')
|
||||
this.$store.dispatch('setCurrentMedia', this.attachment)
|
||||
},
|
||||
},
|
||||
stopFlash () {
|
||||
this.$refs.flash.closePlayer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue