From: Galen Charlton Date: Sat, 25 Jan 2020 15:58:00 +0000 (-0500) Subject: sprinkle more setTimeout dust... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=125977075ed2b80d3b3a526d4b2a30c7c8bae7c6;p=working%2FEvergreen.git sprinkle more setTimeout dust... Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.ts index 31c40fe024..04f2d6ad0e 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.ts @@ -74,7 +74,9 @@ export class InvoiceResultsComponent implements OnInit { } doSearch(search: AcqSearch) { - this.acqSearch.setSearch(search); - this.invoiceResultsGrid.reload(); + setTimeout(() => { + this.acqSearch.setSearch(search); + this.invoiceResultsGrid.reload(); + }); } } diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.ts index c5041393ed..061eddb3ec 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.ts @@ -36,7 +36,9 @@ export class LineitemResultsComponent implements OnInit { } doSearch(search: AcqSearch) { - this.acqSearch.setSearch(search); - this.lineitemResultsGrid.reload(); + setTimeout(() => { + this.acqSearch.setSearch(search); + this.lineitemResultsGrid.reload(); + }); } } diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.ts index da21498ea2..3705ad17e9 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.ts @@ -113,7 +113,9 @@ export class PicklistResultsComponent implements OnInit { } doSearch(search: AcqSearch) { - this.acqSearch.setSearch(search); - this.picklistResultsGrid.reload(); + setTimeout(() => { + this.acqSearch.setSearch(search); + this.picklistResultsGrid.reload(); + }); } } diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.ts index 17e99b4001..75888b931d 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.ts @@ -36,7 +36,9 @@ export class PurchaseOrderResultsComponent implements OnInit { } doSearch(search: AcqSearch) { - this.acqSearch.setSearch(search); - this.purchaseOrderResultsGrid.reload(); + setTimeout(() => { + this.acqSearch.setSearch(search); + this.purchaseOrderResultsGrid.reload(); + }); } }