No more [object Object] dialogs

This commit is contained in:
Thomas Wilburn 2015-04-17 17:20:54 -07:00
parent 51d1946d94
commit 900d877f20

View file

@ -85,8 +85,8 @@ define([
if (!self.file || as) {
var file = new File();
file.open("save", function(err) {
if (err) {
dialog(err);
if (err && err.message != "User cancelled") {
dialog(err.message);
return deferred.fail(err);
}
self.file = file;