This commit is contained in:
@@ -164,13 +164,13 @@ export default {
|
||||
save() {
|
||||
let svg = this.$refs.sigCtrl.save("image/svg+xml");
|
||||
if (this.$refs.sigCtrl.isEmpty()) {
|
||||
console.log("IS EMPTY");
|
||||
//console.log("IS EMPTY");
|
||||
svg = null;
|
||||
}
|
||||
this.setSig(svg);
|
||||
this.setCaptured(window.$gz.locale.nowUTC8601String());
|
||||
this.setName(this.tempName);
|
||||
console.log("SVG size IS ", svg == null ? 0 : svg.length);
|
||||
//console.log("SVG size IS ", svg == null ? 0 : svg.length);
|
||||
this.value.isDirty = true;
|
||||
this.pvm.formState.dirty = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user