Added saved image preview to save image dialog.

This commit is contained in:
Unick Soft
2017-07-07 22:18:46 +03:00
parent 6f58737160
commit 1236fc4c1a
6 changed files with 49 additions and 29 deletions

View File

@@ -765,7 +765,7 @@ Application.prototype.SaveGraphOnDisk = function ()
});
}
Application.prototype.SaveGraphImageOnDisk = function ()
Application.prototype.SaveGraphImageOnDisk = function (showDialogCallback)
{
var imageName = this.GetNewGraphName();
@@ -797,7 +797,10 @@ Application.prototype.SaveGraphImageOnDisk = function ()
data: {
base64data : imageBase64Data
},
dataType: "text"
dataType: "text",
success: function(data){
showDialogCallback();
}
});
return imageName;