Skip to content

Commit

Permalink
Fixed dynamic edit role link
Browse files Browse the repository at this point in the history
  • Loading branch information
maab16 committed Sep 10, 2019
1 parent c9cd4cb commit 301ba5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/dashboard/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
if( result.success == true ) {

var viewBtn = '<a href="#" class="view_permission btn btn-warning" title="View" data-id="'+result.permission.id+'" data-toggle="modal" data-target="#viewPermissionModal">View</a> ';
var editBtn = '<a href="#" class="edit_permission btn btn-info" data-id="'+result.permission.id+'" data-action="/admin/role/'+result.permission.id+'" title="Edit" data-toggle="modal" data-target="#editRoleModal">Edit</a> ';
var editBtn = '<a href="#" class="edit_permission btn btn-info" data-id="'+result.permission.id+'" data-action="/admin/permission/'+result.permission.id+'" title="Edit" data-toggle="modal" data-target="#editPermissionModal">Edit</a> ';
var deleteBtn = '<a href="#" class="delete_permission btn btn-danger" title="Delete" data-id="'+result.permission.id+'">Delete</a> ';

$('#permission_table').DataTable().row.add([
Expand Down

0 comments on commit 301ba5f

Please sign in to comment.