<div>
- <div ng-if="bre">
- <div class="row col-md-12 pad-vert marcfastitemadd">
- <input id="mfiacn" type="text" placeholder="[% l('Call Number:') %]" ng-model="fast_item_callnumber"/>
- <input id="mfiabc" type="text" placeholder="[% l('Barcode') %]" ng-model="fast_item_barcode"/>
- <button class="btn btn-default" ng-click="saveFastItem()">Add Item</button>
- </div>
- </div>
+ <div ng-if="bre" class="row col-md-12 pad-vert marcfastitemadd">
+ <input id="mfiacn" type="text" placeholder="[% l('Call Number:') %]" ng-model="fast_item_callnumber"/>
+ <input id="mfiabc" type="text" placeholder="[% l('Barcode') %]" ng-model="fast_item_barcode"/>
+ <button class="btn btn-default" ng-click="saveFastItem()">Add Item</button>
</div>
- <div class="marcffeditor">
- <div class="row col-md-12 pad-vert marctypesource">
- <div class="col-md-2"><label>Record Type:</label> {{calculated_record_type}}</div>
- <div ng-if="bre" class="col-md-2"><eg-marc-edit-bibsource/></div>
- </div>
+ <div class="marcffeditor pad-vert row col-md-12 marctypesource">
+ <div class="col-md-2"><label>Record Type:</label> {{calculated_record_type}}</div>
+ <div ng-if="bre" class="col-md-2"><eg-marc-edit-bibsource/></div>
</div>
<div class="marcrecord pad-vert">
<div>
'/></span>'+
'</span>',
scope: { field: "=", subfield: "=", onKeydown: '=' },
- replace: false
+ replace: true
}
})
'id="r{{field.record.subfield(\'901\',\'c\')[1]}}f{{field.position}}i{{indNumber}}"'+
'/></span>',
scope: { ind : '=', field: '=', onKeydown: '=', indNumber: '@' },
- replace: false,
+ replace: true
}
})
'id="r{{field.record.subfield(\'901\',\'c\')[1]}}f{{field.position}}tag"'+
'/></span>',
scope: { tag : '=', field: '=', onKeydown: '=' },
- replace: false
+ replace: true
}
})
'<span><eg-marc-edit-ind field="field" ind="field.ind2" on-keydown="onKeydown" ind-number="2"/></span>'+
'<span><eg-marc-edit-subfield ng-repeat="subfield in field.subfields" subfield="subfield" field="field" on-keydown="onKeydown"/></span>'+
'</div>',
- scope: { field: "=", onKeydown: '=' }
+ scope: { field: "=", onKeydown: '=' },
+ replace: true
}
})
return {
templateUrl : './cat/share/t_marcedit',
restrict: 'E',
- replace: false,
+ replace: true,
scope: { recordId : '=', recordType : '@', maxUndo : '@' },
link: function (scope, element, attrs) {
.directive("egMarcEditBibsource", ['$timeout',function ($timeout) {
return {
restrict: 'E',
- replace: false,
+ replace: true,
template: '<span class="nullable">'+
'<select class="form-control" ng-model="bib_source" ng-options="s.id() as s.source() for s in bib_sources">'+
'<option value="">Select a Source</option>'+