Commit 1dd61d71 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Remove useless code

parent c9775573
...@@ -488,10 +488,7 @@ ...@@ -488,10 +488,7 @@
new Promise(function (resolve) { new Promise(function (resolve) {
resolve(canvas.toDataURL("image/jpeg", compression)); resolve(canvas.toDataURL("image/jpeg", compression));
}), }),
buildPreviousThumbnailDom(gadget), buildPreviousThumbnailDom(gadget)
new Promise(function (resolve) {
canvas.toBlob(resolve, "image/jpeg", compression);
})
]); ]);
}) })
.push(function (result_list) { .push(function (result_list) {
......
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1583144747.41</float> <float>1583145490.98</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment