Favicon does not show in Chrome, IE, but work in FireFox

Favicon does not show in Chrome, IE, but work in FireFox

Replies

  • tranhuuhien1990tranhuuhien1990 Posts: 9Questions: 1Answers: 0

    I use autoPrint: false

  • tranhuuhien1990tranhuuhien1990 Posts: 9Questions: 1Answers: 0

    I use

     $(win.document.head).prepend('<link href="http://172.16.160.170:8080/img/weblogo.ico" rel="icon" type="image/x-icon" /><link href="http://172.16.160.170:8080/img/weblogo.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /><title>dasf</title>');
    

    to set favicon

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @tranhuuhien1990 ,

    I don't understand how this is a DataTable issue? If you believe it is, could you post more information, please - your description above is very brief.

    Cheers,

    Colin

  • tranhuuhien1990tranhuuhien1990 Posts: 9Questions: 1Answers: 0
    edited June 2018

    I am sorry!
    I upload 2 image to show my problems.
    1. When I click button "Print"

    2. This is my problem, i disable option "auto print", and It's not show favicon in Chrome, IE, but it work in FF.

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @tranhuuhien1990

    That makes sense now, thanks for the explanation. We're more surprised that it's working in FF, rather than not working in Chrome. A favicon wasn't set when the page was created, so we wouldn't expect one to be there - FF may be being clever, and inheriting one from the parent page if one isn't present.

    You should be able to set your own in the Print button's customize function, though we haven't tried it and it may not work for a Javascript opened window.

    Cheers,

    Colin

  • tranhuuhien1990tranhuuhien1990 Posts: 9Questions: 1Answers: 0

    Thank you for rely, @Colin!

  • redteamredteam Posts: 1Questions: 0Answers: 0

    Hi @tranhuuhien1990
    Did you able to set your own in the Print button's customize function?
    Did work for you?

This discussion has been closed.