Hello, I have a form that in browsing has a column in which a download link of a previously uploaded pdf file is generated(javascript), when I clicked on the link, the file opened in a new window and the form does not enter in edit mode for that click . After the last major update, when I click on the link, the download starts and the form goes into edit mode.
How can I keep the previous behavior, when clicking on the link, it does not go into edit mode for this column?
Thank you
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Click on the link in the column to not enter the edit form Topic is solved
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Click on the link in the column to not enter the edit form
Hi,
Does this work?
Does this work?
Code: Select all
$('[data-nu-column="1"]').each(function (index) {
if ($(this).attr('data-nu-primary-key')) {
const link = $('<a>')
.attr('href', 'https://i.kym-cdn.com/entries/icons/facebook/000/013/564/doge.jpg')
.attr('target', '_blank')
.attr('onclick', 'event.stopPropagation()')
.text('Open link');
$(this).html(link);
}
});
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Click on the link in the column to not enter the edit form

nuBuilderForte .... BIG Like !!!