don't try and request portal detailed data for a 'null' guid! oops
This commit is contained in:
parent
7d923ee64e
commit
eadc044712
@ -5,7 +5,7 @@
|
|||||||
window.renderPortalDetails = function(guid) {
|
window.renderPortalDetails = function(guid) {
|
||||||
selectPortal(window.portals[guid] ? guid : null);
|
selectPortal(window.portals[guid] ? guid : null);
|
||||||
|
|
||||||
if (!portalDetail.isFresh(guid)) {
|
if (guid && !portalDetail.isFresh(guid)) {
|
||||||
portalDetail.request(guid);
|
portalDetail.request(guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user