Refactor: Remove direct storage of compressed data URL in sign item values.
This commit is contained in:
parent
dd7b43ec8c
commit
c6592e85f2
@ -108,8 +108,6 @@ patch(SignablePDFIframe.prototype, {
|
|||||||
const body = signItem.el.querySelector('.sign_item_body') || signItem.el;
|
const body = signItem.el.querySelector('.sign_item_body') || signItem.el;
|
||||||
body.appendChild(newImg);
|
body.appendChild(newImg);
|
||||||
|
|
||||||
this.signItemValues[signItem.id] = compressedDataUrl;
|
|
||||||
|
|
||||||
// Trigger validation/saving mechanism
|
// Trigger validation/saving mechanism
|
||||||
// We might need to call a method to notify Odoo that value changed
|
// We might need to call a method to notify Odoo that value changed
|
||||||
// In standard sign, usually it listens to input or checks dirty state.
|
// In standard sign, usually it listens to input or checks dirty state.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user