lp1930896 - Course Reserves Carriage Return Shouldn't Add
authorKyle Huckins <khuckins@catalyte.io>
Wed, 9 Feb 2022 23:20:50 +0000 (23:20 +0000)
committerJane Sandberg <js7389@princeton.edu>
Thu, 13 Oct 2022 21:07:41 +0000 (14:07 -0700)
- Removed Enter KeyUp property from the Patron Barcode field on Associate User
- Removed Enter KeyUp property from the Item Barcode field on Associate Item

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.html
Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-users.component.html

index 175e387..f70f231 100644 (file)
@@ -33,7 +33,7 @@
                     <input type="text" class="flex-grow-1" id="associate-item-barcode"
                       [(ngModel)]="barcodeInput" (click)="$event.target.select()"
                       [disabled]="currentCourse && (courseIsArchived || currentCourse.is_archived()) === 't'"
-                      (keyup.enter)="associateItem(barcodeInput, relationshipInput)" />
+                      />
                   </div>
                 </div>
                 <div class="d-flex" [ngClass]="isDialog() ? 'col-md-6' : 'col-md-12 mt-3'">
index fc3f7b8..461b075 100644 (file)
@@ -31,7 +31,7 @@
             <input type="text" class="flex-grow-1" id="associate-user-barcode"
               [(ngModel)]="userBarcode" (click)="$event.target.select()"
               [disabled]="currentCourse && (courseIsArchived || currentCourse.is_archived()) === 't'"
-              (keyup.enter)="associateUser(userBarcode)" />
+              />
             <button class="btn btn-outline-dark btn-sm" (click)="searchPatrons()">
               <span class="material-icons mat-icon-in-button align-middle"
               i18n-title title="Search for Patron">search</span>