View | Details | Raw Unified | Return to bug 28853
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt (-4 / +5 lines)
Lines 99-110 Link Here
99
                    // Add the new values to those subfields, empty the additional fields
99
                    // Add the new values to those subfields, empty the additional fields
100
                    var i=0;
100
                    var i=0;
101
                    subfields.each(function() {
101
                    subfields.each(function() {
102
                        if(i in values) {
102
                        var new_value;
103
                            this.getElementsByTagName('input')[1].value = values[i];
103
                        if (i in values) {
104
                            new_value = values[i];
104
                        }
105
                        }
105
                        else {
106
                        else {
106
                            this.getElementsByTagName('input')[1].value = "";
107
                            new_value = "";
107
                        }
108
                        }
109
                        $(this).find('.input_marceditor').val(new_value);
108
                        i++;
110
                        i++;
109
                    });
111
                    });
110
                }
112
                }
111
- 

Return to bug 28853