PDF editor: Allow button to download current background

This commit is contained in:
Raphael Michel
2022-03-13 13:13:43 +01:00
committed by Raphael Michel
parent ab0f76c7bb
commit b05fa89010
2 changed files with 9 additions and 0 deletions

View File

@@ -827,6 +827,7 @@ var editor = {
d = editor.dump();
editor.fabric.dispose();
editor._load_pdf(d);
$(".background-download-button").attr("href", url);
},
_source_show: function () {