-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
-
Opera 11+; Windows XP
I've seen this for quite a while but just hoped it would be spotted and fixed.
When I paste a recognised URL in the Relate to URL/Add URL relationship page, the URL type select is updated to what type it has detected but not the URL type description (type_descr) that is below.
Maybe Opera gets events wrong, here is what I added to a userjs so that the page works :
javascript
(function () { //typeInfo is provided by MB //getting related HTML objects below var selectType = document.getElementById("id-ar.link_type_id"); var divTypeDescr = document.getElementById("type_descr"); var txtUrl = document.getElementById("id-ar.url"); //updating description when typed something txtUrl.addEventListener("keyup", function(e) { if (typeInfo[selectType.value]) { divTypeDescr.innerHTML = typeInfo[selectType.value].descr; } }, false); })();