diff --git a/module/custom/config.php b/module/custom/config.php index d0b29b2941..461857cd20 100644 --- a/module/custom/config.php +++ b/module/custom/config.php @@ -11,5 +11,5 @@ $config->custom->canAdd['block'] = ''; $config->custom->moblieHidden['main'] = array('repo'); $config->custom->moblieHidden['product'] = array('branch', 'module', 'create'); -$config->custom->moblieHidden['project'] = array('create'); +$config->custom->moblieHidden['project'] = array('create', 'effort', 'product'); $config->custom->moblieHidden['my'] = array('effort', 'changePassword', 'manageContacts'); diff --git a/module/story/control.php b/module/story/control.php index fd857f28f0..778c907b1d 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1113,6 +1113,10 @@ class story extends control { die(json_encode($stories)); } + elseif($this->app->getViewType() == 'mhtml') + { + die(html::select('story', empty($stories) ? array('' => '') : $stories, $storyID, 'onchange=setStoryRelated()')); + } else { $storyName = $number === '' ? 'story' : "story[$number]";