Skip to content Skip to sidebar Skip to footer

Dwt Java Script Library Progress Dialogue Automatically Displays With Angular 5

I am incorporating the Dynamic Web Twain javascript library into my angular application to allow my end users to scan using a web browser instead of a desktop application. Upon lo

Solution 1:

This is Tom from Dynamsoft.

What you posted here is a known issue in v13.3 of the SDK Dynamic Web TWAIN.

Here is the fix

  1. Update CSS (dynamsoft_dwt_html5.css) to add the following

    dialog[closed] { display: none; }

  2. Update dynamsoft.webtwain.initiate.js to apply the new CSS rule

    m.showDialog=function(y){var z=this,v;if(z.open){j.error("showDialog called on open dialog.");return}z.open=i;z.removeAttribute("closed");

    m.closeDialog=function(t){var v=this;if(!v.open){j.error("closeDialog called on closed dialog.")}v.open=o;v.removeAttribute("open");v.setAttribute("closed","closed");

    y.push('<dialog class="dynamsoft-dwt-dialogProgress"closed="closed"style="top:30%">

Since the code is minimized, it might look different in your own copy of the JS, if you like, you can email our support team (support@dynamsoft.com, if possible, please use your business email address) for the patch. Thanks.

BTW, the patch will be part of v13.4 soon to be released.

Post a Comment for "Dwt Java Script Library Progress Dialogue Automatically Displays With Angular 5"