<eg-embed-frame save-space="300" frame="opac_iframe" url="catalog_url" handlers="handlers" onchange="handle_page"></eg-embed-frame>
</div>
<div ng-show="record_tab == 'marc_edit'">
- <eg-marc-edit-record on-save="refresh_record_callback" dirty-flag="stop_unload" record-id="record_id"/>
+ <eg-marc-edit-record fast-add="true" on-save="refresh_record_callback" dirty-flag="stop_unload" record-id="record_id"/>
</div>
<!-- ng-if the remaining tabs so they can be instantiated on demand -->
<div ng-if="record_tab == 'marc_html'">
</div>
</div>
<div ng-show="have_template" class="row col-md-12">
- <eg-marc-edit-record dirty-flag="stop_unload" record_id="new_bib_id" marc-xml="marc_template" record-type="bre" />
+ <eg-marc-edit-record fast-add="true" dirty-flag="stop_unload" record_id="new_bib_id" marc-xml="marc_template" record-type="bre" />
</div>
<div>
- <div ng-show="bre && !(brandNewRecord || embedded)" class="row pad-vert marcfastitemadd">
+ <div ng-show="bre && fastAdd" class="row pad-vert marcfastitemadd">
<div class="col-md-2">
<label><input type="checkbox" ng-model="enable_fast_add"/> [% l('Add Item') %]</label>
</div>
<div class="modal-body">
<eg-marc-edit-record dirty-flag="dirty_flag" record-id="record_id" marc-xml="marc_xml"
record-type="bre" save-label="{{save_label}}"
- on-save="import_record_callback"
+ on-save="import_record_callback" fast-add="true"
/>
</div>
<div class="modal-footer">
// used just to munge some MARCXML client-side, rather
// than to (immediately) update the database
inPlaceMode : '@',
+ fastAdd : '@',
flatOnly : '@',
embedded : '@',
recordType : '@',