From 0578483f2ca237ebddbc1cb8296baccea41aa92b Mon Sep 17 00:00:00 2001 From: evarisk-kilyan Date: Wed, 6 Nov 2024 15:54:45 +0100 Subject: [PATCH] #81 [ShortneterClass] add: manage iframe with saturne --- class/shortener.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/shortener.class.php b/class/shortener.class.php index 1c90ee6..4860f68 100644 --- a/class/shortener.class.php +++ b/class/shortener.class.php @@ -442,7 +442,7 @@ public function displayObjectDetails(CommonObject $object): string $out .= $form->textwithpicto('', $langs->trans('ShowQRCode')); $out .= ''; $out .= '' . $langs->trans('OriginalUrl') . ''; - $out .= '' . dolButtonToOpenUrlInDialogPopup('assignShortener', $langs->transnoentities('AssignShortener'), '', '/custom/easyurl/view/shortener/shortener_card.php?element_type=' . $element_type . '&fk_element=' . $object->id . '&from_element=1&action=edit_assign&backtopage=' . urlencode($_SERVER['PHP_SELF'] . '?id=' . $object->id), '', 'btnTitle') . ''; + $out .= '' . dolButtonToOpenUrlInDialogPopup('assignShortener', $langs->transnoentities('AssignShortener'), '', '/custom/easyurl/view/shortener/shortener_card.php?element_type=' . $element_type . '&fk_element=' . $object->id . '&from_element=1&action=edit_assign&backtopage=' . urlencode($_SERVER['PHP_SELF'] . '?id=' . $object->id), '', 'btnTitle', 'window.saturne.toolbox.checkIframeCreation();') . ''; $out .= ''; $out .= '';