missed from previous commit a77a31ac0766cf353d078f4addc0701042cc3f60
This commit is contained in:
parent
a77a31ac07
commit
0a4bac56ea
@ -142,8 +142,11 @@ window.renderPortalDetails = function(guid) {
|
|||||||
'<div class="linkdetails">' + linkDetails.join('') + '</div>'
|
'<div class="linkdetails">' + linkDetails.join('') + '</div>'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// only run the hooks when we have a portalDetails object - most plugins rely on the extended data
|
||||||
runHooks('portalDetailsUpdated', {guid: guid, portal: portal, portalDetails: details, portalData: data});
|
// TODO? another hook to call always, for any plugins that can work with less data?
|
||||||
|
if (details) {
|
||||||
|
runHooks('portalDetailsUpdated', {guid: guid, portal: portal, portalDetails: details, portalData: data});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user