mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d32b0debf1
commit
f3ebc4c9f4
@ -2445,25 +2445,29 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
// XXX this needs feedback...
|
// XXX this needs feedback...
|
||||||
// XXX should this return a promise???
|
// XXX should this return a promise???
|
||||||
saveIndexHere: ['File/$Save',
|
saveIndexHere: ['File/$Save',
|
||||||
function(){
|
core.doc`Save changes...
|
||||||
if(this.location.path){
|
|
||||||
this.saveIndex()
|
|
||||||
|
|
||||||
} else {
|
NOTE: if .location is empty this will prompt user for save path by
|
||||||
this.browseExportIndex()
|
launching .browseExportIndex(..)
|
||||||
}
|
`,
|
||||||
}],
|
function(){
|
||||||
|
this.location.path ?
|
||||||
|
this.saveIndex()
|
||||||
|
: this.browseExportIndex() }],
|
||||||
// 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...
|
||||||
// XXX should this return a promise???
|
// XXX should this return a promise???
|
||||||
saveFullIndex: ['File/Save ($full)',
|
saveFullIndex: ['File/Save ($full)',
|
||||||
|
core.doc`Save full state...
|
||||||
|
|
||||||
|
NOTE: for more info see: .saveIndexHere(..)`,
|
||||||
function(){
|
function(){
|
||||||
return this
|
return this
|
||||||
.markChanged('all')
|
.markChanged('all')
|
||||||
.saveIndexHere()}],
|
.saveIndexHere()}],
|
||||||
saveWithCommentDialog: ['File/Save with $comment...',
|
saveWithCommentDialog: ['File/Save with $comment...',
|
||||||
'exportDialog: "save"'],
|
'exportDialog: "save" -- Save full state with a comment...'],
|
||||||
|
|
||||||
|
|
||||||
// Export dialog...
|
// Export dialog...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user