mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fixed save as file bug
This commit is contained in:
parent
978d6ef832
commit
c9be4f9452
@ -19585,7 +19585,6 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
|||||||
|
|
||||||
ns.SaveController.prototype.saveFile_ = function () {
|
ns.SaveController.prototype.saveFile_ = function () {
|
||||||
this.beforeSaving_();
|
this.beforeSaving_();
|
||||||
this.saveToFile_();
|
|
||||||
pskl.utils.BlobUtils.stringToBlob(pskl.app.piskelController.serialize(), function(blob) {
|
pskl.utils.BlobUtils.stringToBlob(pskl.app.piskelController.serialize(), function(blob) {
|
||||||
pskl.utils.FileUtils.downloadAsFile(blob, this.getLocalFilename_());
|
pskl.utils.FileUtils.downloadAsFile(blob, this.getLocalFilename_());
|
||||||
this.onSaveSuccess_();
|
this.onSaveSuccess_();
|
File diff suppressed because one or more lines are too long
2
js/piskel-packaged-min.js
vendored
2
js/piskel-packaged-min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
var version = '-2014-07-12-06-35';
|
var version = '-2014-07-12-09-26';
|
||||||
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
|
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
|
||||||
if (versionHasNotBeenReplaced) {
|
if (versionHasNotBeenReplaced) {
|
||||||
version = '';
|
version = '';
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<div
|
<div
|
||||||
data-setting="import"
|
data-setting="import"
|
||||||
class="tool-icon local-storage-icon"
|
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">
|
rel="tooltip" data-placement="left">
|
||||||
</div>
|
</div>
|
||||||
<!--
|
<!--
|
||||||
|
Loading…
Reference in New Issue
Block a user