Skip to content

Commit c86cbd9

Browse files
ericturner1colinmollenhour
authored andcommitted
Disable select-all for large collections. (#595)
1 parent f4d28dd commit c86cbd9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ protected function _prepareMassaction()
198198
{
199199
$this->setMassactionIdField('subscriber_id');
200200
$this->getMassactionBlock()->setFormFieldName('subscriber');
201+
$this->getMassactionBlock()->setUseSelectAll(false);
201202

202203
$this->getMassactionBlock()->addItem('unsubscribe', array(
203204
'label' => Mage::helper('newsletter')->__('Unsubscribe'),

app/code/core/Mage/Adminhtml/Block/Review/Grid.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ protected function _prepareMassaction()
210210
$this->setMassactionIdFilter('rt.review_id');
211211
$this->setMassactionIdFieldOnlyIndexValue(true);
212212
$this->getMassactionBlock()->setFormFieldName('reviews');
213+
$this->getMassactionBlock()->setUseSelectAll(false);
213214

214215
$this->getMassactionBlock()->addItem('delete', array(
215216
'label'=> Mage::helper('review')->__('Delete'),

0 commit comments

Comments
 (0)