Commit 5d5d6df2 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: scroll the page display the image selected

parent 017cf279
......@@ -482,6 +482,7 @@
// XXX How to change the dom only when cropper is ready?
// For now, it needs to access dom element size
gadget.element.replaceChild(div, gadget.element.firstElementChild);
gadget.element.querySelector(".camera-header").scrollIntoView(false);
});
}
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.63771.9766.25975</string> </value>
<value> <string>981.63922.15665.61934</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1582221430.61</float>
<float>1582227272.07</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