|
@@ -1220,6 +1220,7 @@ function tripal_feature_load_featureloc_sequences($feature_id,$featurelocs){
|
|
|
function tripal_feature_load_organism_feature_browser($organism){
|
|
|
|
|
|
// don't show the browser if the settings in the admin page is turned off
|
|
|
+ // instead return the array indicating the status of the browser
|
|
|
$show_browser = variable_get('tripal_feature_browse_setting','show_feature_browser');
|
|
|
if(strcmp($show_browser,'show_feature_browser')!=0){
|
|
|
return array ('enabled' => $show_browser );
|