Skip to content

Commit

Permalink
Fix modules batch processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jan 2, 2012
1 parent f29aa82 commit d97df21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static function positions($clientId)
'</label>',
'<fieldset id="batch-choose-action" class="combo">',
'<select name="batch[position_id]" class="inputbox" id="batch-position-id">',
'<option value="nochange">'.JText::_('COM_MODULES_BATCH_POSITION_NOCHANGE').'</option>',
'<option value="">'.JText::_('COM_MODULES_BATCH_POSITION_NOCHANGE').'</option>',
'<option value="noposition">'.JText::_('COM_MODULES_BATCH_POSITION_NOPOSITION').'</option>',
JHtml::_('select.options', self::positionList($clientId)),
'</select>',
Expand Down
8 changes: 0 additions & 8 deletions administrator/components/com_modules/models/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,6 @@ protected function batchCopy($value, $pks, $contexts)
{
$position = '';
}
elseif ($value == 'nochange')
{
$position = $table->position;
}
else
{
$position = $value;
Expand Down Expand Up @@ -282,10 +278,6 @@ protected function batchMove($value, $pks, $contexts)
{
$position = '';
}
elseif ($value == 'nochange')
{
$position = $table->position;
}
else
{
$position = $value;
Expand Down

0 comments on commit d97df21

Please sign in to comment.