Jump to content

Version 1508 - Error in action to hide TUniPDFFrame button


azago

Recommended Posts

Until version 1498 I used a command to hide unwanted buttons while loading the PDF frame

for example the button download using the js command

       UniSession.AddJS (uHTMLPDF.JSName + '.iframe.contentWindow.document.'
       + 'getElementById (' 'download' '). style.display = "none"');

with the 1508 version the same action goes wrong

image.png.29e58b82fa8cb50972471ad414e7bad7.png

it is as if the version of iframe had different properties between 1498 and 1508

What has changed?

 
 
 
 

 

image.png

Link to comment
Share on other sites

14 hours ago, azago said:

with the 1508 version the same action goes wrong

image.png.29e58b82fa8cb50972471ad414e7bad7.png

it is as if the version of iframe had different properties between 1498 and 1508

What has changed?

Hi,

Can you make a simple testcase for check?

Seems I could not reproduce your issue.

Link to comment
Share on other sites

On 8/14/2019 at 8:15 PM, azago said:

for example the button download using the js command

       UniSession.AddJS (uHTMLPDF.JSName + '.iframe.contentWindow.document.'
       + 'getElementById (' 'download' '). style.display = "none"');

with the 1508 version the same action goes wrong

image.png.29e58b82fa8cb50972471ad414e7bad7.png

http://forums.unigui.com/index.php?/topic/12950-how-to-change-tunipdfframe-menu-options/&do=findComment&comment=69047

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...