removed a non-necessary feature...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-13 05:28:03 +03:00
parent 5203db794d
commit 122baa837d
2 changed files with 1 additions and 5 deletions

View File

@ -2258,7 +2258,6 @@ var FileSystemWriterActions = actions.Actions({
logger && logger.emit('queued', to)
var res = include_virtual
&& !img.do_not_export
&& !fse.existsSync(to)
&& outputFile(to, img.text || '')

View File

@ -28,9 +28,6 @@ var browse = require('lib/widget/browse')
// // Block text (optional)...
// text: <String>,
//
// // if true this block will not be exported...
// do_not_export: <bool>,
//
// // optional image attributes...
// // for more info see: imagegrid/images.js
// ...
@ -262,7 +259,7 @@ var VirtualBlocksEditUIActions = actions.Actions({
// XXX this is a good candidate for inlineing (browse2)
// XXX should we also add a preview (preview constructor from metadata)???
// XXX should we do a sanity check for image type???
editVirtualBlockText: ['Virtual block/$Edit text...',
editVirtualBlockText: ['Virtual block/$Edit...',
{ browseMode: function(){
return (this.image || {}).type != 'virtual' && 'disabled' }, },
widgets.makeUIDialog(function(gid){