Skip to content

Commit

Permalink
revert changes to dropdown function
Browse files Browse the repository at this point in the history
  • Loading branch information
N6REJ committed Aug 27, 2020
1 parent 125f1ce commit b8e6363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/HTML/Helpers/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public static function unarchive($checkboxId, $prefix = '')
public static function trash($checkboxId, $prefix = '')
{
$task = $prefix . 'trash';
static::addCustomItem(Text::_('JTOOLBAR_TRASH'), 'fa-trash', 'javascript:void(0)', 'onclick="contextAction(\'' . $checkboxId . '\', \'' . $task . '\')"');
static::addCustomItem(Text::_('JTOOLBAR_TRASH'), 'javascript:void(0)', 'onclick="contextAction(\'' . $checkboxId . '\', \'' . $task . '\')"');

return;
}
Expand All @@ -297,7 +297,7 @@ public static function trash($checkboxId, $prefix = '')
public static function untrash($checkboxId, $prefix = '')
{
$task = $prefix . 'publish';
static::addCustomItem(Text::_('JTOOLBAR_UNTRASH'), 'fa-trash', 'javascript:void(0)', 'onclick="contextAction(\'' . $checkboxId . '\', \'' . $task . '\')"');
static::addCustomItem(Text::_('JTOOLBAR_UNTRASH'), 'javascript:void(0)', 'onclick="contextAction(\'' . $checkboxId . '\', \'' . $task . '\')"');

return;
}
Expand Down

0 comments on commit b8e6363

Please sign in to comment.