From 487809f4ee42fc7c15713bb96c76290ad78d2059 Mon Sep 17 00:00:00 2001 From: Duncan Cameron <3147688+bramley@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:50:01 +0000 Subject: [PATCH] Allow ajax page links to have a title, defaulting to the link description --- public_html/lists/admin/connect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/lists/admin/connect.php b/public_html/lists/admin/connect.php index f63b7cba9..6dc9900c5 100644 --- a/public_html/lists/admin/connect.php +++ b/public_html/lists/admin/connect.php @@ -1262,10 +1262,10 @@ function PageLinkDialogOnly($name, $desc = '', $url = '', $extraclass = '') return $link; } -function PageLinkAjax($name, $desc = '', $url = '', $extraclass = '') +function PageLinkAjax($name, $desc = '', $url = '', $extraclass = '', $title = '') { //# as PageLink2, but add the option to ajax it in a popover window - $link = PageLink2($name, $desc, $url); + $link = PageLink2($name, $desc, $url, false, $title ?: $desc); if ($link) { $link = str_replace('