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

(-)a/koha-tmpl/intranet-tmpl/prog/js/xmlControlfield.js (-2 / +1 lines)
Lines 307-313 function changeH4Result(form, h4_result, tr_result, pos, value) Link Here
307
                            try {
307
                            try {
308
                                url = ((nodePos.getAttributeNode("url") || nodePos.hasAttribute("url")) && nodePos.getAttribute("url") != "" && nodePos.getElementsByTagName('urltext')[0].textContent != "")?"&nbsp;<a href='" + nodePos.attributes.getNamedItem("url").nodeValue + "' target='_blank'>" + nodePos.getElementsByTagName('urltext')[0].textContent + "</a>":"";
308
                                url = ((nodePos.getAttributeNode("url") || nodePos.hasAttribute("url")) && nodePos.getAttribute("url") != "" && nodePos.getElementsByTagName('urltext')[0].textContent != "")?"&nbsp;<a href='" + nodePos.attributes.getNamedItem("url").nodeValue + "' target='_blank'>" + nodePos.getElementsByTagName('urltext')[0].textContent + "</a>":"";
309
                            } catch (e) { url = "";}
309
                            } catch (e) { url = "";}
310
                            td.innerHTML = "<label for='" + pos + "' title='" + title + "'>" + pos + " - " + name + url + "</label>";
310
                            td.innerHTML = "<label for='f" + pos + "' title='" + title + "'>" + pos + " - " + name + url + "</label>";
311
                            td = tr.insertCell(tr.cells.length);
311
                            td = tr.insertCell(tr.cells.length);
312
                            value = returnValuePosFromResult(result, pos);
312
                            value = returnValuePosFromResult(result, pos);
313
                            if ((index = pos.indexOf("-")) > 0) { // Position interval
313
                            if ((index = pos.indexOf("-")) > 0) { // Position interval
314
- 

Return to bug 34565