You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
645 B

;!(function () {
BI.Plugin.registerObject("bi.subject.relationship.pane.map", function (object) {
var self = object;
self.oldGetSourceType = self.getSourceType;
self.getSourceType = function (id) {
var find = BI.find(BI.Front.SUPPORT_REPORT, function (index, item) {
var x = (self.model.resourceMap)[item.type];
if (x && x[id]) {
return true;
}
return false;
})
if (find) {
return find.typeValue;
}
return self.oldGetSourceType(id);
}
})
})();