| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 |  if (!empty($options['attributes'])) { | 
| 38 | 38 | $attributes = array_merge($attributes, $options['attributes']); | 
| 39 | 39 | } | 
| 40 | -if(!empty($attributes['onchange'])){ | |
| 40 | +if (!empty($attributes['onchange'])) { | |
| 41 | 41 | unset($attributes['onchange']); | 
| 42 | 42 | } | 
| 43 | 43 |  echo Html::el('input', $attributes, '', null); | 
| @@ -59,7 +59,7 @@ discard block | ||
| 59 | 59 | <script> | 
| 60 | 60 |    inji.onLoad(function () { | 
| 61 | 61 |      setTimeout(function () { | 
| 62 | -      inji.Ui.autocomplete.bind(inji.get('#<?=$id;?>'), '<?=$options['snippet'];?>', <?=json_encode($options['snippetParams']);?>); | |
| 62 | +      inji.Ui.autocomplete.bind(inji.get('#<?=$id; ?>'), '<?=$options['snippet']; ?>', <?=json_encode($options['snippetParams']); ?>); | |
| 63 | 63 | }, 100); | 
| 64 | 64 | }); | 
| 65 | 65 | </script> | 
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 |  if (!empty($options['attributes'])) { | 
| 38 | 38 | $attributes = array_merge($attributes, $options['attributes']); | 
| 39 | 39 | } | 
| 40 | -if(!empty($attributes['onchange'])){ | |
| 40 | +if(!empty($attributes['onchange'])) { | |
| 41 | 41 | unset($attributes['onchange']); | 
| 42 | 42 | } | 
| 43 | 43 |  echo Html::el('input', $attributes, '', null); |