Skip to main content

Search

Opening attachments on list form in new tab

Answered

Comments

2 comments

  • Matthias_Walter

    Hi Gareth Jayne,

    on those attachment links there are two attributes (onmousedown & onclick) which prevent the target="_blank".

    You can use an execute script form load actions to remove them and add the target like this:

     

    ArdeviaJQuery('#idAttachmentsTable a').each(function () {
    ArdeviaJQuery(this).attr('target','_blank');
    ArdeviaJQuery(this).removeAttr("onmousedown");
    ArdeviaJQuery(this).removeAttr("onclick");
    });

     

    BR Matthias

    0
  • GarethJ1

    Great thanks for your help Matthias.

    0

Please sign in to leave a comment.