Skip to content

Commit

Permalink
Fix salesagility#10543 - Remove Security Groups button on subpanelsba…
Browse files Browse the repository at this point in the history
…sed on EditView
  • Loading branch information
SinergiaCRM committed Oct 7, 2024
1 parent 80ee82d commit aaa9106
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ public function displayList(&$layout_def)
$hideremove = true;
}

//based on listview since that lets you select records
if ($layout_def['ListView'] && !$hideremove) {
if ($layout_def['EditView'] && !$hideremove) {
$retStr = "<a href=\"javascript:sub_p_rem('$subpanel', '$linked_field'"
. ", '$record', $refresh_page);\""
. ' class="listViewTdToolsS1"'
Expand Down

0 comments on commit aaa9106

Please sign in to comment.