Skip to content
Permalink
Browse files
Fix storing gateway data as JSON in HTML data attribute
  • Loading branch information
machristie committed Aug 23, 2017
1 parent 0c04440 commit fa310a19e6b3afc2c7cff1dabbc6d734bf16598c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -144,7 +144,7 @@ class="glyphicon glyphicon-plus"></span>Add a new gateway
<td style="max-width: 400px; word-wrap: break-word;">{{ $gp->gatewayPublicAbstract}}</td>
<td>{{$gatewayApprovalStatuses[$gp->gatewayApprovalStatus] }}</td>
<td>
<input type="button" class="btn btn-primary btn-xs start-approval" id="view-{{ preg_replace('/[\s]/', '-',$gp->gatewayId) }}" data-gatewayobject='{{htmlentities(json_encode( $gp))}}' value="View"/>
<input type="button" class="btn btn-primary btn-xs start-approval" id="view-{{ preg_replace('/[\s]/', '-',$gp->gatewayId) }}" data-gatewayobject="{{htmlentities(json_encode( $gp))}}" value="View"/>
</td>
</tr>
@endforeach

0 comments on commit fa310a1

Please sign in to comment.