Fixed save as file bug

This commit is contained in:
jdescottes 2014-07-12 22:31:15 +02:00
parent 978d6ef832
commit c9be4f9452
6 changed files with 4 additions and 5 deletions

View File

@ -19585,7 +19585,6 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
ns.SaveController.prototype.saveFile_ = function () {
this.beforeSaving_();
this.saveToFile_();
pskl.utils.BlobUtils.stringToBlob(pskl.app.piskelController.serialize(), function(blob) {
pskl.utils.FileUtils.downloadAsFile(blob, this.getLocalFilename_());
this.onSaveSuccess_();

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
(function () {
var version = '-2014-07-12-06-35';
var version = '-2014-07-12-09-26';
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
if (versionHasNotBeenReplaced) {
version = '';

View File

@ -32,7 +32,7 @@
<div
data-setting="import"
class="tool-icon local-storage-icon"
title="Import piskel"
title="Import an existing image,<br/>an animated GIF or a .piskel file"
rel="tooltip" data-placement="left">
</div>
<!--