Skip to content

Commit

Permalink
Dev: Comment out regexp; fix width of scenario input
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Oct 7, 2016
1 parent ae4c850 commit c4e18fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- Condition -->
<div class='form-group'>
<label class='control-label col-sm-2'><?php eT('Scenario'); ?></label>
<div class='col-sm-4'>
<div class='<?php if ($showScenario): ?> col-sm-4 <?php else: ?> col-sm-2 <?php endif; ?> add-scenario-column'>
<input class='form-control' type='number' name='scenario' id='scenario' value='1' <?php if($showScenario):?> style='display: none;' <?php endif;?>/>
<?php if($showScenario):?>
<span id='defaultscenariotxt'>
Expand Down Expand Up @@ -107,7 +107,7 @@
'#CONST' => gT('Constant'),
'#PREVQUESTIONS' => gT('Questions'),
'#TOKENATTRS' => gT('Token fields'),
'#REGEXP' => gT('RegExp')
//'#REGEXP' => gT('RegExp')
)));?>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions scripts/admin/conditions.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,5 +339,6 @@ $(document).ready(function(){
function scenarioaddbtnOnClickAction() {
$('#scenarioaddbtn').hide();
$('#defaultscenariotxt').hide('slow');
$('.add-scenario-column').removeClass('col-sm-4').addClass('col-sm-2');
$('#scenario').show('slow');
}

0 comments on commit c4e18fd

Please sign in to comment.