Documentation
API / js_edit_onsave
This callback gets executed when files are saves by the edit dialog.
Parameters
| Name | Description | 
|---|---|
| file | File instance of the file being saved. | 
Example
moxman.edit({
    path: '/files/images/image.jpg',
    onsave: function(args) {
        console.log(args.file);
    }
});