LPXXX Prop changes between editors
authorBill Erickson <berickxx@gmail.com>
Thu, 21 Nov 2019 16:43:11 +0000 (11:43 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 6 Dec 2019 15:37:03 +0000 (10:37 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/flat-editor.component.ts

index 3c3da2a..465a738 100644 (file)
@@ -28,7 +28,11 @@ export class MarcFlatEditorComponent implements OnInit {
         private store: ServerStoreService
     ) {}
 
-    ngOnInit() {}
+    ngOnInit() {
+        // Be sure changes made in the enriched editor are
+        // reflected here.
+        this.record.breakerText = this.record.toBreaker();
+    }
 
     // When we have breaker text, limit the vertical expansion of the
     // text area to the size of the data plus a little padding.