minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-12-31 19:52:32 +03:00
parent f3ebc4c9f4
commit bc4c8cb5a5

View File

@ -2448,12 +2448,12 @@ var FileSystemWriterUIActions = actions.Actions({
core.doc`Save changes... core.doc`Save changes...
NOTE: if .location is empty this will prompt user for save path by NOTE: if .location is empty this will prompt user for save path by
launching .browseExportIndex(..) launching .exportIndexDialog(..)
`, `,
function(){ function(){
this.location.path ? this.location.path ?
this.saveIndex() this.saveIndex()
: this.browseExportIndex() }], : this.exportIndexDialog() }],
// XXX should this be a UI action??? // XXX should this be a UI action???
// ...at this point this depends on .saveIndexHere(..), thus // ...at this point this depends on .saveIndexHere(..), thus
// it is here... // it is here...