minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-10 20:30:00 +03:00
parent a412354c0c
commit e93b800127
3 changed files with 8 additions and 0 deletions

View File

@ -536,6 +536,7 @@ body {
} }
.metadata-view .preview.image { .metadata-view .preview.image {
border: rgba(200, 200, 200, 0.3) 1px solid; border: rgba(200, 200, 200, 0.3) 1px solid;
visibility: visible !important;
} }

View File

@ -463,6 +463,9 @@ var MetadataUIActions = actions.Actions({
return } return }
data = that.images[image] = that.images[image] || {} data = that.images[image] = that.images[image] || {}
data.comment = value data.comment = value
// mark image as changed...
that.markChanged
&& that.markChanged('images', [image])
}, },
}) })

View File

@ -193,6 +193,10 @@ var VirtualImagesUIActions = actions.Actions({
reset_on_commit: false, reset_on_commit: false,
editdone: function(evt, value){ editdone: function(evt, value){
image.text = value image.text = value
// mark image as changed...
that.markChanged
&& that.markChanged('images', [gid])
// refresh views...
make.dialog.updatePreview() make.dialog.updatePreview()
that.refresh(gid) that.refresh(gid)
}, },