01-25-2015, 05:10 AM
have changed it in relateslistcontents.tpl
function loadRelatedListBlock
var responseData = trim(response.responseText);
// MSL : error on vendors
var n = target.indexOf("_");
var res = target.substring(n+1, 100);
var p = res.indexOf("_");
var module = target.substring(n+1, n+p+1);
if (module == 'Vendors') {
document.getElementById(target).innerHTML = responseData;
} else {
target_element.update(responseData);
}
------------
seems the target_element.update does not work on the vendors module, don't understand why
function loadRelatedListBlock
var responseData = trim(response.responseText);
// MSL : error on vendors
var n = target.indexOf("_");
var res = target.substring(n+1, 100);
var p = res.indexOf("_");
var module = target.substring(n+1, n+p+1);
if (module == 'Vendors') {
document.getElementById(target).innerHTML = responseData;
} else {
target_element.update(responseData);
}
------------
seems the target_element.update does not work on the vendors module, don't understand why