From 5eeed2d0d2c6f6781cdc188470b0cf9c893f7246 Mon Sep 17 00:00:00 2001 From: pollen8 Date: Mon, 23 Mar 2015 16:37:54 +0100 Subject: [PATCH] fixed js error in twitter sign in button --- plugins/fabrik_form/twitter/elements/twittersignin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/fabrik_form/twitter/elements/twittersignin.php b/plugins/fabrik_form/twitter/elements/twittersignin.php index f529577913c..ac6ec9598e9 100644 --- a/plugins/fabrik_form/twitter/elements/twittersignin.php +++ b/plugins/fabrik_form/twitter/elements/twittersignin.php @@ -54,8 +54,9 @@ protected function getInput() $c = isset($this->form->repeatCounter) ? (int) $this->form->repeatCounter : 0; - $href = COM_FABRIK_LIVESITE . 'index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=twitter - &g=form&method=authenticateAdmin&tmpl=component&formid=' . $cid . '&repeatCounter=' . $c; + + $href = COM_FABRIK_LIVESITE . 'index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=twitter'; + $href .= '&g=form&method=authenticateAdmin&tmpl=component&formid=' . $cid . '&repeatCounter=' . $c; $clearjs = '$(\'jform_params_twitter_oauth_token-' . $c . '\').value = \'\';'; $clearjs .= '$(\'jform_params_twitter_oauth_token_secret-' . $c . '\').value = \'\';';