don't try and request portal detailed data for a 'null' guid! oops

This commit is contained in:
Jon Atkins 2013-12-02 17:53:22 +00:00
parent 7d923ee64e
commit eadc044712

View File

@ -5,7 +5,7 @@
window.renderPortalDetails = function(guid) {
selectPortal(window.portals[guid] ? guid : null);
if (!portalDetail.isFresh(guid)) {
if (guid && !portalDetail.isFresh(guid)) {
portalDetail.request(guid);
}