Skip to content

Commit

Permalink
fixed js error in twitter sign in button
Browse files Browse the repository at this point in the history
  • Loading branch information
pollen8 committed Mar 23, 2015
1 parent cd02e64 commit 5eeed2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/fabrik_form/twitter/elements/twittersignin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \'\';';
Expand Down

0 comments on commit 5eeed2d

Please sign in to comment.