function umbracoCheckUpgrade(result) { if (result) { if (result.UpgradeType.toLowerCase() != 'none') { if (UmbSpeechBubble == null) { InitUmbracoSpeechBubble(); } var icon = 'info'; if (result.UpgradeType.toLowerCase() == 'critical') { icon = 'error'; } UmbSpeechBubble.ShowMessage(icon, 'Upgrade Available!', '' + result.UpgradeComment + '', true); } } }