Fix storing gateway data as JSON in HTML data attribute

Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/fa310a19
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/fa310a19
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/fa310a19

Branch: refs/heads/develop
Commit: fa310a19e6b3afc2c7cff1dabbc6d734bf16598c
Parents: 0c04440
Author: Marcus Christie <[email protected]>
Authored: Wed Aug 23 10:58:34 2017 -0400
Committer: Marcus Christie <[email protected]>
Committed: Wed Aug 23 10:58:34 2017 -0400

----------------------------------------------------------------------
 app/views/admin/manage-gateway.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/fa310a19/app/views/admin/manage-gateway.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-gateway.blade.php 
b/app/views/admin/manage-gateway.blade.php
index dd14bd1..5e72642 100644
--- a/app/views/admin/manage-gateway.blade.php
+++ b/app/views/admin/manage-gateway.blade.php
@@ -144,7 +144,7 @@
                                         <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

Reply via email to