We found a solution by making additions to the php file: /fudge/wysiwyg/plugins/matrix_insert_link/insert_link.php at about line 270.
// Selected asset's type code
var asset_type = '';
if (f.elements["assetid[type_code]"] != undefined && f.elements["assetid[type_code]"].value != '') {
asset_type = f.elements["assetid[type_code]"].value;
} else if (f.elements["link_assetid[type_code]"] != undefined && f.elements["link_assetid[type_code]"].value != '') {
asset_type = f.elements["link_assetid[type_code]"].value;
} else if (f.elements["page_redirect_assetid[type_code]"] != undefined && f.elements["page_redirect_assetid[type_code]"].value != '') {
asset_type = f.elements["page_redirect_assetid[type_code]"].value;
}
if (asset_type != '') {
// Disable the irrelevant asset type option based on the currently selected asset
This is what has been added
]"] != undefined && f.elements["assetid[type_code
]"] != undefined && f.elements["link_assetid[type_code
]"] != undefined && f.elements["page_redirect_assetid[type_code
After making the changes, the OK button could be clicked and the link is inserted into the HTML