From b1e8dc0649f16131513ff3e5bca4d823181ccf6e Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Mon, 27 Mar 2017 08:52:35 +0800 Subject: [PATCH] Add return url --- .../packageinstaller/tmpl/default.php | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/plugins/installer/packageinstaller/tmpl/default.php b/plugins/installer/packageinstaller/tmpl/default.php index 5f6b6d7a7934e..6007d2559a161 100644 --- a/plugins/installer/packageinstaller/tmpl/default.php +++ b/plugins/installer/packageinstaller/tmpl/default.php @@ -34,18 +34,25 @@ $token = JSession::getFormToken(); $text = JText::_('PLG_INSTALLER_PACKAGEINSTALLER_DRAG_FILE_HERE'); JText::script('PLG_INSTALLER_PACKAGEINSTALLER_DRAG_ERR_UNSUPPORTEDBROWSER'); +$return = JFactory::getApplication()->input->getBase64('return'); // Drag-drop installation JFactory::getDocument()->addScriptDeclaration( <<