dunno why toins missed to report new marc editor changes to marc21 plugins...
(00x & leader.tmpl tested, other not tested, I don't know which field they are for. but it's a copy paste of 1 line, should work anyway)
Signed-off-by: Chris Cormack <crc@liblime.com>
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
'<!-- TMPL_VAR NAME="dateentered" -->'+
document.f_pop.f0.value+
document.f_pop.f014.value+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
document.f_pop.f0.value+
document.f_pop.f1.value;
self.close();
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
document.f_pop.f1.value+
document.f_pop.f6.value+
document.f_pop.f710.value+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
'<!-- TMPL_VAR NAME="dateentered" -->'+
document.f_pop.f6.value+
document.f_pop.f710.value+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
' '+
document.f_pop.f5.value+
document.f_pop.f6.value+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
' '+
document.f_pop.f5.value+
document.f_pop.f6.value+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
' '+document.f_pop.f5.value +
document.f_pop.f6.value+ document.f_pop.f7.value+
document.f_pop.f8.value+ document.f_pop.f9.value+ ' '+
</form>
<script>
function report() {
- opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value =
- ' '+document.f_pop.f5.value +
+ var doc = opener.document;
+ var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
+
+ field.value =
+ ' '+document.f_pop.f5.value +
document.f_pop.f6.value+ document.f_pop.f7.value+
document.f_pop.f8.value+ document.f_pop.f9.value+ ' '+
document.f_pop.f17.value+ document.f_pop.f18.value+ document.f_pop.f19.value+' ';