Commit 020a9cf2 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fixup! erp5_document_scanner: Improve checkValidity method from scannerjs

make jslint happy
parent 97c9eae2
......@@ -675,7 +675,8 @@
if (key.indexOf("blob_url_") !== -1) {
if (!gadget.state[key]) {
return false;
} else if (has_thumbnail) {
}
if (gadget.state[key] && !has_thumbnail) {
has_thumbnail = true;
}
}
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.29544.47237.55466</string> </value>
<value> <string>981.29551.59362.28552</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1580162507.4</float>
<float>1580163643.67</float>
<string>UTC</string>
</tuple>
</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