Skip to content

Commit

Permalink
Fixed issue #10632: Can't access advanced settings of a question when…
Browse files Browse the repository at this point in the history
… survey is activated
  • Loading branch information
LouisGac committed Mar 10, 2016
1 parent daa34e8 commit 483b0a4
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -142,9 +142,8 @@
$groups[$questionType['group']][$key] = $questionType['description'];
}
?>

<input type="hidden" id="question_type" name="type" value="<?php echo $eqrow['type']; ?>" />
<?php if(isset($selectormodeclass) && $selectormodeclass != "none" && $activated != "Y"): ?>
<input type="hidden" id="question_type" name="type" value="<?php echo $eqrow['type']; ?>" />
<div class="col-sm-8 btn-group" id="question_type_button" style="z-index: 1000">
<button type="button" class="btn btn-default dropdown-toggle " <?php if ($activated == "Y"){echo " disabled ";} ?> data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="z-index: 1000">
<?php foreach($groups as $name => $group):?>
Expand Down

1 comment on commit 483b0a4

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broke 1dd87f2 again

Please sign in to comment.