No more [object Object] dialogs
This commit is contained in:
parent
51d1946d94
commit
900d877f20
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue