diff --git a/module/common/model.php b/module/common/model.php index 5f6c449edc..8fb318c3ec 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -485,8 +485,6 @@ class commonModel extends model /* The standalone lite version removes the lite interface button */ if(trim($config->visions, ',') == 'lite') return true; - if($app->config->systemMode != 'new') return print("
{$lang->visionList['rnd']}
"); - if(count($userVisions) < 2) return print("
{$lang->visionList[$currentVision]}
"); if(count($configVisions) < 2) return print("
{$lang->visionList[$currentVision]}
"); diff --git a/module/index/js/index.js b/module/index/js/index.js index 0e45e36856..1dcc343279 100644 --- a/module/index/js/index.js +++ b/module/index/js/index.js @@ -267,6 +267,7 @@ var $bar = $('#appBar-' + appCode); if(!$bar.length) { + if (typeof(app.text) == 'undefined') return false; var $link= $('') .attr('data-app', appCode) .attr('class', 'show-in-app')