diff --git a/application/controllers/admin/questiongroup.php b/application/controllers/admin/questiongroup.php index 8148b8482b6..cebaa7b0fdc 100644 --- a/application/controllers/admin/questiongroup.php +++ b/application/controllers/admin/questiongroup.php @@ -244,10 +244,8 @@ public function delete($iSurveyId, $iGroupId) } else Yii::app()->user->setFlash('flashmessage', $clang->gT('Group could not be deleted')); - - $this->getController()->redirect($this->getController()->createUrl('admin/survey/sa/view/surveyid/' . $iSurveyId)); - LimeExpressionManager::UpgradeConditionsToRelevance($iSurveyId); + $this->getController()->redirect($this->getController()->createUrl('admin/survey/sa/view/surveyid/' . $iSurveyId)); } } diff --git a/application/views/admin/survey/QuestionGroups/questiongroupbar_view.php b/application/views/admin/survey/QuestionGroups/questiongroupbar_view.php index 1e3916ce511..4a08ce9b5f4 100644 --- a/application/views/admin/survey/QuestionGroups/questiongroupbar_view.php +++ b/application/views/admin/survey/QuestionGroups/questiongroupbar_view.php @@ -45,7 +45,7 @@ // TMSW Conditions->Relevance: Should be allowed to delete group even if there are conditions/relevance, since separate view will show exceptions { ?> - ')"> + '); return false;"> <?php $clang->eT("Delete current question group"); ?>