Skip to content

Commit

Permalink
Dev: Remove text_input_width for multipleshorttext (use text_input_co…
Browse files Browse the repository at this point in the history
…lumns instead)
  • Loading branch information
olleharstedt committed May 19, 2016
1 parent 8352c8d commit 4fda422
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions application/helpers/qanda_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2637,7 +2637,6 @@ function do_multipleshorttext($ia)
$maxlength = "";
}

$tiwidth = (trim($aQuestionAttributes['text_input_width'])!='')?$aQuestionAttributes['text_input_width']:'';
$sInputContainerWidth = (trim($aQuestionAttributes['text_input_columns'])!='')?$aQuestionAttributes['text_input_columns']:'6';
$sLabelWidth = (trim($aQuestionAttributes['label_input_columns'])!='')?$aQuestionAttributes['label_input_columns']:'6';

Expand Down Expand Up @@ -2708,7 +2707,6 @@ function do_multipleshorttext($ia)

$sRows .= doRender('/survey/questions/multipleshorttext/rows/answer_row_textarea', array(
'alert' => false,
'tiwidth' => $tiwidth,
'sInputContainerWidth' => $sInputContainerWidth,
'sLabelWidth' => $sLabelWidth,
'maxlength' => '',
Expand Down Expand Up @@ -2763,7 +2761,6 @@ function do_multipleshorttext($ia)
'alert' => $alert,
'labelname' => 'answer'.$myfname,
'maxlength' => $maxlength,
'tiwidth' => $tiwidth,
'sInputContainerWidth' => $sInputContainerWidth,
'sLabelWidth' => $sLabelWidth,
'extraclass' => $extraclass,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<input
class="text <?php echo $kpclass; ?> form-control"
type="text"
size="<?php echo $tiwidth; ?>"
name="<?php echo $myfname; ?>"
id="answer<?php echo $myfname; ?>"
value="<?php echo $dispVal; ?>"
Expand Down

0 comments on commit 4fda422

Please sign in to comment.