Skip to content

Commit

Permalink
Fixed issue #08505: Multi-flexible text field does not save anything …
Browse files Browse the repository at this point in the history
…when set up as "Number only".

Dev: use val(), because attr('value') is not updated
  • Loading branch information
Shnoulle committed Jan 2, 2014
1 parent 127ef2c commit 84ace9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -5263,7 +5263,7 @@ function do_array_multitext($ia)
<script type="text/javascript">
<!--
$('#question{$ia[0]} .question').delegate('input[type=text]:visible:enabled','blur keyup',function(event){
{$checkconditionFunction}($(this).attr('value'), $(this).attr('name'), $(this).attr('type'));
{$checkconditionFunction}($(this).val(), $(this).attr('name'), 'text');
return true;
})
// -->
Expand Down

0 comments on commit 84ace9b

Please sign in to comment.