Commit ef45e8e9 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: scroll the page display the image selected

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