<option value="print" [disabled]="true" i18n>Print Title Details</option>
<option value="email" [disabled]="true" i18n>Email Title Details</option>
<option value="bucket" i18n>Add Basket to Bucket</option>
- <option value="clear" [disabled]="true" i18n>Clear Basket</option>
+ <option value="clear" i18n>Clear Basket</option>
</select>
</div>
</div>
<div class="modal-header bg-info">
<h4 class="modal-title">
<span *ngIf="recIds.length == 1" i18n>
- Add To Record #{{recIds[0]}} to Bucket</span>
+ Add Record #{{recIds[0]}} to Bucket</span>
<span *ngIf="recIds.length != 1" i18n>
Add {{recIds.length}} Record(s) to Bucket</span>
</h4>
return $e->die_event unless $e->checkauth;
my $items = (ref $item eq 'ARRAY') ? $item : [$item];
- # Elect an item to be the source of the bucket we will
- # add all items to.
- $item = $items->[0];
-
- my ( $bucket, $evt ) = $apputils->fetch_container_e($e, $item->bucket, $class);
+ my ( $bucket, $evt ) =
+ $apputils->fetch_container_e($e, $items->[0]->bucket, $class);
return $evt if $evt;
if( $bucket->owner ne $e->requestor->id ) {