Skip to content

Commit

Permalink
Dev: Missing zebra class in do_array
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 29, 2016
1 parent a02eb7c commit 639032d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/helpers/qanda_helper.php
Expand Up @@ -4606,6 +4606,7 @@ function do_array($ia)
'answertext'=>$answertext,
'value'=>$value,
'error'=>$error,
'zebra' => 2 - ($i % 2)
), true);

$thiskey=0;
Expand Down
Expand Up @@ -5,7 +5,7 @@
* @var $value
*/
?>
<tr id="javatbd<?php echo $myfname;?>" class="well answers-list radio-list">
<tr id="javatbd<?php echo $myfname;?>" class="well answers-list radio-list array<?php echo $zebra; ?>">
<th class="answertext">
<?php if($error): ?>
<div class="alert alert-danger" role="alert">
Expand Down

0 comments on commit 639032d

Please sign in to comment.