Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Xie committed Dec 17, 2018
1 parent 052ce29 commit 1723751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/site/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
$queryString = $queryString ? $queryString.'&' : '';

$quickSearch = Yii::$app->params['quickSearch'];
$valDisplayType = Yii::$app->params['valDisplayType'] ?? 'popup';
?>

<style type="text/css">
Expand Down Expand Up @@ -279,7 +280,7 @@
},
dataType:'json',
success:function (responseText){
<?php if(Yii::$app->params['valDisplayType']=='inline'):?>
<?php if($valDisplayType=='inline'):?>
var str = '';
str += '------------------------------------<br>';
str += 'keyType => '+responseText.key_type+"<br>";
Expand Down

0 comments on commit 1723751

Please sign in to comment.