Skip to content

Commit

Permalink
refs vufind-org#355: preselect all records in cart (book bag)
Browse files Browse the repository at this point in the history
  • Loading branch information
olli-gold committed Jan 13, 2016
1 parent c646476 commit fe2b55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/bootstrap3-tub/templates/cart/cart.phtml
Expand Up @@ -12,7 +12,7 @@
<div class="cart-controls clearfix">
<div class="checkbox pull-left">
<label>
<input type="checkbox" name="selectAll" class="checkbox-select-all"/>
<input type="checkbox" name="selectAll" class="checkbox-select-all" checked="true"/>
<?=$this->transEsc('select_page')?>
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3-tub/templates/record/checkbox.phtml
@@ -1,2 +1,2 @@
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"/>
<input class="checkbox-select-item" type="checkbox" name="ids[]" value="<?=$this->escapeHtmlAttr($this->id) ?>" checked="true" />
<input type="hidden" name="idsAll[]" value="<?=$this->escapeHtmlAttr($this->id) ?>"/>

0 comments on commit fe2b55c

Please sign in to comment.