mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
40bb5eef87
commit
d6d3a608a5
@ -1327,7 +1327,7 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
|
|||||||
|
|
||||||
handlers: [
|
handlers: [
|
||||||
['updateImage',
|
['updateImage',
|
||||||
function(){
|
function(_, gid){
|
||||||
var that = this
|
var that = this
|
||||||
var img = this.ribbons.getImage(gid)
|
var img = this.ribbons.getImage(gid)
|
||||||
|
|
||||||
@ -1338,7 +1338,11 @@ module.ContextActionMenu = core.ImageGridFeatures.Feature({
|
|||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
|
||||||
that.browseActions('/Image/')
|
var gid = that.ribbons.getElemGID(img)
|
||||||
|
|
||||||
|
that
|
||||||
|
.focusImage(gid)
|
||||||
|
.browseActions('/Image/')
|
||||||
})
|
})
|
||||||
}],
|
}],
|
||||||
['load',
|
['load',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user